
Database with different country code schemes and world regions
Source:R/data.R
gisco_countrycode.RdA tibble containing conversions between different country code schemes (Eurostat/ISO2 and 3) as well as geographic regions as provided by the World Bank and the UN (M49 Standard). This database has been extracted from the countrycode package.
Format
A data frame object with 249 rows and 13 variables:
ISO3_CODEEurostat code of each country.
CNTR_CODEISO 3166-1 alpha-2 code of each country.
iso2cISO 3166-1 alpha-3 code of each country.
iso.name.enISO English short name.
cldr.short.enEnglish short name as provided by the Unicode Common Locale Data Repository.
continentAs provided by the World Bank.
un.region.codeNumeric region code UN (M49).
un.region.nameRegion name UN (M49).
un.regionintermediate.codeNumeric intermediate Region.
un.regionintermediate.nameIntermediate Region name UN (M49).
un.regionsub.codeNumeric sub-region code UN (M49).
un.regionsub.nameSub-Region name UN (M49).
euLogical indicating if the country belongs to the European Union.
Source
countrycode::codelist v1.6.1.
World Regions
Regions are defined as per the geographic regions defined by the UN (see https://unstats.un.org/unsd/methodology/m49/. Under this scheme Cyprus is assigned to Asia.
See also
gisco_get_countries(), countrycode::codelist.
See also the Unicode Common Locale Data Repository.
Other datasets:
gisco_coastal_lines,
gisco_countries_2024,
gisco_db,
gisco_nuts_2024
Examples
data("gisco_countrycode")
dplyr::glimpse(gisco_countrycode)
#> Rows: 249
#> Columns: 13
#> $ ISO3_CODE <chr> "ABW", "AFG", "AGO", "AIA", "ALA", "ALB", "…
#> $ CNTR_CODE <chr> "AW", "AF", "AO", "AI", NA, "AL", "AD", "AE…
#> $ iso2c <chr> "AW", "AF", "AO", "AI", "AX", "AL", "AD", "…
#> $ iso.name.en <chr> "Aruba", "Afghanistan", "Angola", "Anguilla…
#> $ cldr.short.en <chr> "Aruba", "Afghanistan", "Angola", "Anguilla…
#> $ continent <chr> "Americas", "Asia", "Africa", "Americas", "…
#> $ un.region.code <dbl> 19, 142, 2, 19, 150, 150, 150, 142, 19, 142…
#> $ un.region.name <chr> "Americas", "Asia", "Africa", "Americas", "…
#> $ un.regionintermediate.code <dbl> 29, NA, 17, 29, NA, NA, NA, NA, 5, NA, NA, …
#> $ un.regionintermediate.name <chr> "Caribbean", NA, "Middle Africa", "Caribbea…
#> $ un.regionsub.code <dbl> 419, 34, 202, 419, 154, 39, 39, 145, 419, 1…
#> $ un.regionsub.name <chr> "Latin America and the Caribbean", "Souther…
#> $ eu <lgl> FALSE, FALSE, FALSE, FALSE, FALSE, FALSE, F…