View source: R/get_timeseries.R
getPop | R Documentation |
Get population time series, using the brpop package. Currently has estimates from 2000 to 2021
getPop(cities, iniY = 2010, endY)
cities |
list of geocodes. |
iniY |
first year. Default is 2010 |
lastY |
last year. Default is the last available |
tibble with columns geocode, year, pop
cities <- getCidades(uf = "Paraná")$municipio_geocodigo
pop <- getPop(cities, iniY = 2018, endY = 2019)
tail(pop)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.