Retrieve a list of assets from Porowhita Hauwhā. An asset is a structure that provides shelter for the public...
Arguments
- ...
Optional expressions to filter the asset 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 assets that are classed as rural halls from the test database
get_assets(designation == "Rural Hall", test_db = TRUE)
#> # A tibble: 2 × 15
#> facility_type facility_id facility_attribute_id name physical_address
#> <chr> <chr> <chr> <chr> <chr>
#> 1 Asset A26 FA174 Buckland Com… Cnr Logan and B…
#> 2 Asset A208 FA118 Puni Hall 329 Waiuku Road
#> # ℹ 10 more variables: 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>