Skip to contents

Dataset containing country IDs and their continents

Usage

data(country_continent)

Format

A data frame with the continents that countries belong to

ID

country identifiers

continent

continents of various country

Source

Internal data consisting of countries and their continent

Value

corresponding continents of countries

See also

Data country_names for linkage of IDs with continent

Examples

# load the continent dataset
data(country_continent)
data(country_names)
finaldb <- cbind(country_names,country_continent)

# view content of the country and population
head(finaldb)
#>      ID                name    ID     continent
#> 1 10001         Afghanistan 10001          Asia
#> 2 10002             Albania 10002        Europe
#> 3 10003             Algeria 10003        Africa
#> 4 10004             Andorra 10004        Europe
#> 5 10005              Angola 10005        Africa
#> 6 10006 Antigua and Barbuda 10006 North America