World Development Indicators’ API
Data - WDI
Info
List of APIs
Using SDMX-ML: Data Structure Definition
API: http://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL
Documentation: https://datahelpdesk.worldbank.org/knowledgebase/articles/889392-about-the-indicators-api-documentation
API Basic Call Structures: https://datahelpdesk.worldbank.org/knowledgebase/articles/898581
Date: 2000, 2001. http://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL?date=2000:2001
Code from R Package: https://rdrr.io/cran/WDI/src/R/WDI.R
Format JSON: https://datahelpdesk.worldbank.org/knowledgebase/articles/1886686-advanced-data-api-queries
LAST_COMPILE
LAST_COMPILE |
---|
2025-10-10 |
Javascript
Code
<- "https://api.worldbank.org/v2/country/all/indicator/SP.POP.TOTL?format=json" %>%
new ::fromJSON() %>%
jsonlitepluck(2)
Example
Startperiod, endPeriod
Code
"http://api.worldbank.org/v2/sdmx/rest/data/WDI/A.SP_POP_TOTL./?startperiod=2011&endPeriod=2011" %>%
%>%
readSDMX %>%
as_tibble print_table_conditional
Example
Code
"http://api.worldbank.org/v2/sdmx/rest/data/WDI/A.SP_POP_TOTL./?startperiod=2011&endPeriod=2011" %>%
%>%
readSDMX %>%
as_tibble print_table_conditional