Get ISO3 codes for World Bank regions, countries, states/provinces, metropolitan areas, and/or counties.

getISO3(locations_to_search)

Arguments

locations_to_search

vector or list of location (World Bank region, country, state/province, metropolitan area, county) name(s)

Value

a vector or list of ISO3 codes

Examples

getISO3(c("San Diego", "Virginia", "India"))
#> [1] "USA_US-CA_06073" "USA_US-VA"       "IND"