Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

countrypops

Yearly populations of countries from 1960 to 2017


Description

A dataset that presents yearly, total populations of countries. Total population is based on counts of all residents regardless of legal status or citizenship. Country identifiers include the English-language country names, and the 2- and 3-letter ISO 3166-1 country codes. Each row contains a population value for a given year (from 1960 to 2017). Any NA values for populations indicate the non-existence of the country during that year.

Usage

countrypops

Format

A tibble with 12470 rows and 5 variables:

country_name

Name of the country

country_code_2

The 2-letter ISO 3166-1 country code

country_code_3

The 3-letter ISO 3166-1 country code

year

The year for the population estimate

population

The population estimate, midway through the year

Function ID

11-1

Source

See Also

Other Datasets: exibble, gtcars, pizzaplace, sp500, sza

Examples

# Here is a glimpse at the data
# available in `countrypops`
dplyr::glimpse(countrypops)

gt

Easily Create Presentation-Ready Display Tables

v0.2.2
MIT + file LICENSE
Authors
Richard Iannone [aut, cre] (<https://orcid.org/0000-0003-3925-190X>), Joe Cheng [aut], Barret Schloerke [aut] (<https://orcid.org/0000-0001-9986-114X>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.