Code
rsdmx::getSDMXServiceProviders() %>%
as_tibble %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}Data
An Application Programming Interface (API) is an interface or communication protocol between different parts of a computer program intended to simplify the implementation and maintenance of software. Nowadays, many institutionally provided database are available through APIs.
Below, I introduce you to some of these APIs, but there are actually many more you can use.
SDMX is the Statistical Data and Metadata eXchange initiative, which is sponsored by BIS, ECB, Eurostat, IMF, OECD, UNSD and the World Bank. Data disseminated in this way is supposed to be structured in similar ways.
We shall use the rsdmx package to read in SDMX data into R statistics:
rsdmx quickstart guide. htmlEurostat explains SDMX. html
The official site for the SDMX community. html
SDMX REST API: Developers’ documentation. html / Cheatsheet
You can easily get a list of providers through getSDMXServiceProviders:
rsdmx::getSDMXServiceProviders() %>%
as_tibble %>%
{if (is_html_output()) datatable(., filter = 'top', rownames = F, escape = F) else .}ig_d("oecd", "api", "IRLTLT01-FRA-JPN-DEU-GBR-GRC-USA")| Source | Dataset | Updated | PNG | |
|---|---|---|---|---|

ig_d("eurostat", "api", "example1")| Source | Dataset | Updated | PNG | |
|---|---|---|---|---|
