Retrieve a list of spaces from Porowhita Hauwhā. A space is an area in which services are delivered to the public, located within an asset
Arguments
- ...
Optional expressions to filter the space list, defied in terms of the variables in the returned tibble.
- test_db
Retrieve this data from the test database? Defaults to FALSE.
Examples
# Retrieve a list of spaces that are classed as community libraries from the test database
get_spaces(designation == "Community Library", test_db = TRUE)
#> # A tibble: 0 × 15
#> # ℹ 15 variables: facility_type <chr>, facility_id <chr>,
#> # facility_attribute_id <chr>, name <chr>, physical_address <chr>,
#> # local_board <chr>, latitude <lgl>, longitude <lgl>, designation <chr>,
#> # delivery_model <chr>, facility_ownership <chr>, closed <lgl>,
#> # staffed <lgl>, leased <lgl>, entry_access_type <chr>