ha_data | R Documentation |
Obtain data for one or more topics within specified populations for specified time periods and geographic scale.
All combinations of topic, population, period, and layer will be returned. Warnings will be generated for any invalid combinations.
ha_data(
topic_key,
population_key,
period_key,
layer_key,
geometry = FALSE,
progress = TRUE
)
topic_key |
Character string or vector of Unique IDs(s) specifying topic(s). |
population_key |
Character string or vector of Unique ID(s) for population stratification(s). |
period_key |
Character string or vector of Unique ID(s) for time period(s). |
layer_key |
Character string specifying an Unique ID for a geographic layer. |
geometry |
Attach geometry to output? |
progress |
Display a progress bar? |
Data tibble containing value and standard error for each topic measure.
ha_set("chicagohealthatlas.org")
ha_data("POP", "H", "2014-2018", "zip")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.