Untitled

DATA DOUBLE CONFIRM

SingStat API

SingStat (Singapore Department of Statistics) has made quite some data publicly available but not in the most analyst-friendly format. For those who are looking for more Singapore-related data to analyze, we can make use of the API function to call these data tables into Python/ pandas dataframe. The example below is on Annual Population: M810381 - Residents By Age Group & Type Of Dwelling, Annual.

Click on JSON to retrieve the url that points towards the data table.

Jupyter notebook outlining the steps to retrieve the data tables is uploaded on Github: https://github.com/hxchua/datadoubleconfirm/blob/master/notebooks/SingStat%20API.ipynb

The dataset is also upload on Github and can be found here.