load_population | R Documentation |
Loads information on (estimated) population
load_population(
dataset = "population",
raw_data = FALSE,
geo_level,
time_period,
language = "eng"
)
dataset |
A dataset name ("population"). |
raw_data |
A |
geo_level |
A |
time_period |
A |
language |
A |
A tibble
.
## Not run:
# 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"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.