Population is an exposure. Unknown ethnicity has no Census population denominator and must have NA population. Additional age_band and sex columns identify disjoint strata. Counts may exceed exposure.
Usage
sl_exposure(
data,
geography,
classification = c("5", "19"),
source = "user_supplied"
)See also
sl_population(), sl_population_crosstab()
Other ingest:
sl_archive_download(),
sl_archive_index(),
sl_archive_snapshot(),
sl_assign_geography(),
sl_boundaries(),
sl_cache_clear(),
sl_cache_dir(),
sl_contract(),
sl_list_versions(),
sl_population(),
sl_population_crosstab(),
sl_read_records(),
sl_sample(),
sl_select_version()
Examples
sl_exposure(data.frame(
geography_code = "area1", ethnicity = "White",
population = 1000
), geography = "example")
#> # A tibble: 1 × 3
#> geography_code ethnicity population
#> <chr> <chr> <dbl>
#> 1 area1 White 1000