Description Usage Arguments Value
iso3_to_regions()
takes in a vector of ISO3 codes and returns regions
specified by the user. Currently, this can be codes or English names for
UN regions/subregions, WHO regions, and World Bank Income Groups.
1 2 3 4 5 6 7 | iso3_to_regions(
iso3,
region = c("who_region", "un_region", "un_subregion", "wb_ig"),
year = max(wb_ig_years()),
name = FALSE,
language = c("en", "es", "ru", "ar", "zh", "fr")
)
|
iso3 |
Character vector of ISO3 codes. |
region |
Type of region to return. Can be any of "who_region" (default), "un_region", "un_subregion", or "wb_ig". |
year |
For World Bank Income Group only, specify the year to return. |
name |
For UN region and subregion only. If |
language |
For UN region and subregion only, if returning name. A character value specifying the language of the country names. Should be specified using the ISO2 language code. |
Character vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.