os-climate / os_c_data_commons

Repository for Data Commons platform architecture overview, as well as developer and user documentation
Apache License 2.0
20 stars 10 forks source link

Federate World Bank data using RESTful API #331

Open toki8 opened 1 year ago

toki8 commented 1 year ago

For the PCAF Sovereign Footprint Methodology, World Bank Population Totals and GDP as well as PPP adj. GDP figures are needed.

Sources: Population Totals: https://databank.worldbank.org/reports.aspx?source=2&series=SP.POP.TOTL&country= GDP and PPP adj. GDP: https://data.worldbank.org/indicator/NY.GDP.MKTP.CD https://data.worldbank.org/indicator/NY.GDP.MKTP.PP.CD

The API is documented here: https://datahelpdesk.worldbank.org/knowledgebase/articles/889392-about-the-indicators-api-documentation

HeatherAck commented 1 year ago

related to #320

mriefer commented 11 months ago

API call for both data sets NY.GDP.MKTP.CD and NY.GDP.MKTP.PP.CD

Download Format: (possible formats => csv, xml, excel) https://api.worldbank.org/v2/country/ind/indicator/NY.GDP.MKTP.CD;NY.GDP.MKTP.PP.CD?source=2&downloadformat=csv

Output Format: (possible formats => json, xml, jsonstat) https://api.worldbank.org/v2/country/ind/indicator/NY.GDP.MKTP.CD;NY.GDP.MKTP.PP.CD?source=2&format=json

for individual access. use only one indicator in url.