Skip to contents

This function downloads the population aged 15 to 64 of a country.

Usage

gdt_wb_working_age(country, start = 1960, end = format(Sys.Date(), "%Y"))

Arguments

country

A string with the country name or iso code

start

The first year

end

The last year (default: the current year)

Value

A tibble with the columns of wbstats::wb_data() and:

working_age

Population aged 15 to 64

Examples

if (FALSE) { # interactive()
gdt_wb_working_age("China")
}