One year population pyramid data (legacy function)
Usage
gdt_idb_pyramid_1y(country, year)
Arguments
- country
A string with the country name
- year
An integer with the year
Value
A dataframe with age, female, and male population
Examples
if (FALSE) { # interactive()
# Not run: needn a valid IDB API key
gdt_idb_pyramid_1y("Switzerland", 2020)
}