Learn R Programming

r2country (version 2.0.2.4.0)

country_population: Dataset of countries and their latest population

Description

Dataset containing country IDs and their population by year

Usage

data(country_population)

Arguments

Value

corresponding population size of countries

Format

A data frame with the population of countries

ID

country identifiers

population2023

country population as of 2023

References

https://www.wikipedia.org

See Also

Data country_names for linkage of IDs with country population size

Examples

Run this code
# load the population dataset
data(country_population)
data(country_names)
finaldb <- cbind(country_names,country_population)

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


Run the code above in your browser using DataLab