View source: R/wdi_get_income_levels.R
wdi_get_income_levels | R Documentation |
This function returns a tibble of supported income levels for querying the World Bank API. The income levels categorize countries based on their gross national income per capita.
wdi_get_income_levels(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 income levels, which categorize countries according to their income group as defined by the World Bank. The language parameter allows the results to be returned in different languages as supported by the API.
A tibble with columns that typically include:
An integer identifier for the income level.
A character string representing the ISO2 code for the income level.
The description of the income level (e.g., "Low income", "High income").
https://api.worldbank.org/v2/incomeLevels
# Download all income levels in English
wdi_get_income_levels()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.