View source: R/wdi_get_regions.R
wdi_get_regions | R Documentation |
This function returns a tibble of supported regions for querying the World Bank API.The regions include various geographic areas covered by the World Bank's datasets.
wdi_get_regions(language = "en")
language |
A character string specifying the language code for the API response (default is "en" for English). |
This function provides a reference for the supported regions, which
are important for refining queries related to geographic data in the World
Bank's datasets. The region_id
column is unique for seven key regions.
A tibble with the following columns:
An integer identifier for each region.
A character string representing the region code.
A character string representing the ISO2 code for the region.
A character string representing the name of the region, in the specified language.
https://api.worldbank.org/v2/region
# Download all regions
wdi_get_regions()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.