wpp_age: Get age-specific population data according to the World...

View source: R/wpp_age.r

wpp_ageR Documentation

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)

Arguments

countries

countries, will return all if not given

years

years, will return all if not given

Value

data frame of age-specific population data

Examples

wpp_age("Italy", c(1990, 2000))

socialmixr documentation built on Oct. 29, 2022, 1:09 a.m.