Skip to contents

List all combinations of population, periods, and geographic layers available for a given topic. To search for individual topics use ha_topics().

Usage

ha_coverage(topic_key, layer_key = NULL, keys_only = FALSE, progress = TRUE)

Arguments

topic_key

Unique ID specifying a topic.

layer_key

Character string or vector of Unique IDs for geographic layers.

keys_only

Return only keys?

progress

Display a progress bar?

Value

Topic coverage tibble.

Examples

# \donttest{
ha_set("chicagohealthatlas.org")

ha_coverage("POP", progress = FALSE)
#> # A tibble: 1,959 × 7
#>    topic_key population_key population_name       population_grouping period_key
#>    <chr>     <chr>          <chr>                 <chr>               <chr>     
#>  1 POP       HI             Hispanic or Latino, … Race/Ethnicity and… 2015-2019 
#>  2 POP       BS             Non-Hispanic Black, … Race/Ethnicity and… 2019-2023 
#>  3 POP       AY             Asian, Young Adults … Race/Ethnicity and… 2018-2022 
#>  4 POP       H              Hispanic or Latino    Race/Ethnicity      2016-2020 
#>  5 POP       BY             Non-Hispanic Black, … Race/Ethnicity and… 2017-2021 
#>  6 POP       BM             Non-Hispanic Black, … Race/Ethnicity and… 2018-2022 
#>  7 POP       AMI            Asian or Pacific Isl… Race/Ethnicity, Se… 2014-2018 
#>  8 POP       AI             Asian, Infants (0-4 … Race/Ethnicity and… 2018-2022 
#>  9 POP       WS             Non-Hispanic White, … Race/Ethnicity and… 2017-2021 
#> 10 POP       HY             Hispanic or Latino, … Race/Ethnicity and… 2018-2022 
#> # ℹ 1,949 more rows
#> # ℹ 2 more variables: layer_key <chr>, layer_name <chr>
# }