| countrypops {gt} | R Documentation |
Yearly populations of countries from 1960 to 2022
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 2022). Any NA values
for populations indicate the non-existence of the entity during that year.
Usage
countrypops
Format
A tibble with 13,545 rows and 5 variables:
- country_name
The name of the country.
- country_code_2, country_code_3
The 2- and 3-letter ISO 3166-1 country codes.
- year
The year for the population estimate.
- population
The population estimate, midway through the year.
Examples
Here is a glimpse at the data available in countrypops.
dplyr::glimpse(countrypops) #> Rows: 13,545 #> Columns: 5 #> $ country_name <chr> "Aruba", "Aruba", "Aruba", "Aruba", "Aruba", "Aruba", "~ #> $ country_code_2 <chr> "AW", "AW", "AW", "AW", "AW", "AW", "AW", "AW", "AW", "~ #> $ country_code_3 <chr> "ABW", "ABW", "ABW", "ABW", "ABW", "ABW", "ABW", "ABW",~ #> $ year <int> 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1~ #> $ population <int> 54608, 55811, 56682, 57475, 58178, 58782, 59291, 59522,~
Dataset ID and Badge
DATA-1

Dataset Introduced
v0.2.0.5 (March 31, 2020)
Source
https://data.worldbank.org/indicator/SP.POP.TOTL
See Also
Other datasets:
constants,
exibble,
films,
gibraltar,
gtcars,
illness,
metro,
nuclides,
peeps,
photolysis,
pizzaplace,
reactions,
rx_addv,
rx_adsl,
sp500,
sza,
towny