ha_data {healthatlas} | R Documentation |
Obtain Data
Description
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.
Usage
ha_data(
topic_key,
population_key,
period_key,
layer_key,
geometry = FALSE,
progress = TRUE
)
Arguments
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? |
Value
Data tibble containing value and standard error for each topic measure.
Examples
ha_set("chicagohealthatlas.org")
ha_data("POP", "H", "2014-2018", "zip")
[Package healthatlas version 0.2.1 Index]