View source: R/get_country_code.R
get_country_code | R Documentation |
The function identifies the sub-national geographical identifiers from known typologies and returns the ISO 3166-1 alpha-2 country codes.
get_country_code(geo, typology = "NUTS")
geo |
A character variable with geo codes. |
typology |
Currently the following typologies are supported:
|
The ISO 3166-1 alpha-2 codes of the countries as a character vector.
Other recode functions:
recode_nuts()
{ get_country_code (c("EL", "GR", "DED", "HU102")) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.