Description Usage Arguments Value Examples
View source: R/get_name_variations.R
Get Country Name Variations
1 2 | get_name_variations(country, country_type = c("iso3", "iso2",
"iso_name"), collapse = FALSE)
|
country |
A character string with standardized country names |
country_type |
The stadardization type (c("iso3", "iso2", "iso_name")) |
collapse |
If TRUE variations are separated by '|' else a list is returned |
A list of a character vector
1 2 | country <- c("DEU", "GBR", "HKG", "HUN", "IDN")
get_name_variations(country, country_type = "iso3", collapse = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.