get_region.RdGet regional groupings for country codes Retrieve a list of the region based on the ISO3c alpha codes.
get_region(country = NULL, type = "who")
| country | Vector of country ISO3 codes as characters. Default is |
|---|---|
| type | The type of region grouping to return. The default |
A character vector of region codes of length equal
length(country) if country is specified or a data.frame of
the region table if country is NULL.
Data source of M49 regions: https://unstats.un.org/unsd/methodology/m49/overview/