country_capital: Dataset of countries and their capitals

country_capitalR Documentation

Dataset of countries and their capitals

Description

Dataset containing country IDs and their capitals

Usage

data(country_capital)

Format

A data frame with the capitals that countries belong to

ID

country identifiers

capital

capitals of various country

Value

corresponding capitals of countries

Source

Internal data consisting of countries and their capital

References

https://www.wikipedia.org

See Also

Data country_names for linkage of IDs with capital

Examples

# load the capitals dataset
data(country_capital)
data(country_names)
finaldb <- cbind(country_names,country_capital)

# view content of the country and population
head(finaldb)



r2country documentation built on Sept. 11, 2024, 9:24 p.m.