data.gov.sg has openAPI and for each dataset, it provides a sample Python code to query for the dataset. The output is a JSON and here's sharing the code on how to convert the output to a pandas dataframe so you can do further data analysis or visualization on the data: https://github.com/hxchua/datadoubleconfirm/blob/master/notebooks/datagovsg.ipynb. The example used is for the dataset on Average Monthly Household Income Among Resident Households by Income Quintile and Type of Dwelling.
Data viz is created using Dataiku.
This is the link to the data published on data.gov.sg: https://beta.data.gov.sg/datasets?query=income&resultId=d_ecc9bf4002ce1ea951abbb59432dfc82
ความคิดเห็น