Skip to contents

Return 5y population data

Usage

gdt_idb_pyramid_5y(country, year)

Arguments

country

A string with the country name

year

An integer with the year

Value

A dataframe

Examples

if (FALSE) { # interactive()
# Not run: needn a valid IDB API key

gdt_idb_pyramid_5y("Switzerland", 2020)
}