POPULATION.Rmd
Loads IBGE information on estimated population (2001-2006, 2008-2009, 2011-2021) or population (2007 and 2010) data. Data is available at country, state and municipality level and from 2001 to 2021.
Options:
dataset: "population"
raw_data: there are two options:
TRUE
: if you want the data as it is originally.FALSE
: if you want the treated version of the
data.geo_level: "country"
,
"state"
, or "municipality"
time_period: picks the years for which the data will be downloaded
language: you can choose between Portuguese
("pt")
and English ("eng")
Examples:
# download treated population data at the state level for 2010 to 2012
data <- load_population(raw_data = FALSE,
geo_level = "state",
time_period = 2010:2012)