Returns a list of partners from the database, plus the names and IDs of any facilities they're associated with.
Arguments
- ...
List of attribute-value pairs with which to filter the list of returned partners.
- test_db
Retrieve this data from the test database? Defaults to
FALSE
.
Examples
charitable_trusts <- get_partners(type = "Charitable Trust", test_db = TRUE)
charitable_trusts
#> # A tibble: 1 × 10
#> id name type facility_owner service_provider legal_status_number
#> <chr> <chr> <chr> <lgl> <lgl> <lgl>
#> 1 P1 Birkdale Beac… Inco… NA NA NA
#> # ℹ 4 more variables: facility_type <chr>, facility_id <chr>,
#> # facility_name <chr>, facility_attribute_id <chr>