R/geo_demography.R
gph_pyramid.Rd
Create population pyramid
gph_pyramid(country, year, theme = ggplot2::theme_minimal())
A string with the country name
An integer for the year
A ggplot2 theme
A ggplot graph
if (FALSE) { # interactive() # Not run: needs a valid IDB API key gph_pyramid("Switzerland", 2020) }