## ----include = FALSE----------------------------------------------------------
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)

## ----eval=FALSE---------------------------------------------------------------
# # download treated population data at the state level for 2021
# pop_2021 <- load_population(
#   dataset = "population",
#   raw_data = FALSE,
#   geo_level = "state",
#   time_period = 2021,
#   language = "eng"
# )

## ----eval=FALSE---------------------------------------------------------------
# # download treated population data at the state level for 2010 to 2021
# pop_series <- load_population(
#   dataset = "population",
#   raw_data = FALSE,
#   geo_level = "state",
#   time_period = 2010:2021,
#   language = "eng"
# )

## ----eval=FALSE---------------------------------------------------------------
# # download treated population data at the municipality level for 2020
# pop_munic <- load_population(
#   dataset = "population",
#   raw_data = FALSE,
#   geo_level = "municipality",
#   time_period = 2020,
#   language = "eng"
# )

