Learn R Programming

r2country (version 2.0.2.4.0)

country_continent: Dataset of countries and their continents

Description

Dataset containing country IDs and their continents

Usage

data(country_continent)

Arguments

Value

corresponding continents of countries

Format

A data frame with the continents that countries belong to

ID

country identifiers

continent

continents of various country

References

https://www.wikipedia.org

See Also

Data country_names for linkage of IDs with continent

Examples

Run this code
# 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)


Run the code above in your browser using DataLab