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