This dataset contains a list of 256 World countries (geographic entities) according to the GADM database https://gadm.org.

world_countries

Format

A data.frame with 256 rows (geographic entities, official (or non official) countries) and the 10 following variables:

iso_alpha2

the ISO 3166 alpha 2 code of the country

iso_alpha3

the ISO 3166 alpha 3 code of the country

iso_num

the ISO 3166 numeric code of the country

geographic_entity

the name of the country (geographic entity)

sovereignty

the name of recognized country (by the UN)

formal_name

the formal name of the geographic entity

parser

the regular expression used to detect the entity in a full text

continent

the name of the continent where the entity is located

un_region

the name of the UN region where the entity is located

un_subregion

the name of the UN subregion where the entity is located

Examples

data("world_countries")
head(world_countries)
#>   iso_alpha2 iso_alpha3 iso_num     geographic_entity              sovereignty
#> 1         AF        AFG       4           Afghanistan              Afghanistan
#> 2       <NA>        XAD      NA Akrotiri and Dhekelia           United Kingdom
#> 3         AX        ALA     248         Åland Islands                  Finland
#> 4         AL        ALB       8               Albania                  Albania
#> 5         DZ        DZA      12               Algeria                  Algeria
#> 6         AS        ASM      16        American Samoa United States of America
#>                                     formal_name            parser continent
#> 1                Islamic Emirate of Afghanistan       afghanistan      Asia
#> 2 Sovereign Base Areas of Akrotiri and Dhekelia akrotiri|dhekelia      Asia
#> 3                                 Åland Islands       åland|aland    Europe
#> 4                           Republic of Albania           albania    Europe
#> 5       People's Democratic Republic of Algeria           algeria    Africa
#> 6                                American Samoa    american samoa   Oceania
#>   un_region    un_subregion
#> 1      Asia   Southern Asia
#> 2      Asia    Western Asia
#> 3    Europe Northern Europe
#> 4    Europe Southern Europe
#> 5    Africa Northern Africa
#> 6   Oceania       Polynesia