if (FALSE) {
# Download raw data (raw_data = TRUE) at the country level
# from 2008 to 2010 (time_period = 2008:2010).
data <- load_population(
raw_data = TRUE,
geo_level = "country",
time_period = 2008:2010
)
# Download treted data (raw_data = FALSE) by state (geo_level = "state")
# from 2008 to 2010 (time_period = 2008:2010) in portuguese (language = "pt").
data <- load_population(
raw_data = FALSE,
geo_level = "state",
time_period = 2008:2010,
language = "pt"
)
}
Run the code above in your browser using DataLab