A Singapore Government Agency Website
Official website links end with .gov.sg
Government agencies communicate via .gov.sg websites (e.g. go.gov.sg/open). Trusted websites

Secure websites use HTTPS

Look for a lock () or https:// as an added precaution. Share sensitive information only on official, secure websites.

Real-time APIs will be unavailable from September 19th, 2024, 06:00 pm to September 19th, 2024, 10:00 pm due to upstream service's system maintenance. We apologise for the inconvenience caused.

Livestock Slaughtered - Pigs Total

Data from Jan 1999 to Dec 2020Updated 4 months ago

SFA (Singapore Food Agency)

To compute the no. of pigs slaughtered

Livestock slaughtered by Year

Data explorer

LivestockSlaughteredPigsTotal.csv (22 rows, 291 B)

Year
Datetime (Year) "YYYY"
Livestock Slaughtered
Numeric (General)
(Null)0.0%
(Null)0.0%
1999465004
2000317995
2001346652
2002327830
2003292065
2004307923
2005310969
2006244645
2007295552
2008332777

Column legend

Title
Column name
Data type
Unit of measure
Description
YearyearDatetime (Year) "YYYY"--
Livestock Slaughteredlivestock_slaughteredNumeric (General)NumberImported live pigs

Sample OpenAPI query

This code can be used to test a sample API query. It retrieves the data catalogue of this dataset. For a complete guide on query parameters and syntax, please refer to the API documentation. Try it out on your browser to see the response schema.

import requests
          
datasetId = "d_fdacece31830472bd36fe8238a3bced6"
url = "https://data.gov.sg/api/action/datastore_search?resource_id="  + datasetId 
        
response = requests.get(url)
print(response.json())

About this dataset

Contact

feedback@data.gov.sg

Created on

04 May 2016

Licence

Free forever for personal or commercial use, under the Open Data Licence.

Agency

SFA (Singapore Food Agency)

Dataset usage

51
Views
6
Downloads
23
API calls