Learn R Programming

socialmixr (version 0.4.0)

wpp_age: Get age-specific population data according to the World Population Prospects 2017 edition

Description

This uses data from the wpp2017 package but combines male and female, and converts age groups to lower age limits. If the requested year is not present in the historical data, wpp projections are used.

Usage

wpp_age(countries, years)

Value

data frame of age-specific population data

Arguments

countries

countries, will return all if not given

years

years, will return all if not given

Examples

Run this code
wpp_age("Italy", c(1990, 2000))

Run the code above in your browser using DataLab