Description Usage Arguments Value Examples
Retrieve CQC providers, subject to given parameters.
1 2 3 4 5 6 7 8 | cqc_providers(constituency = NULL, local_authority = NULL,
inspection_directorate = NULL,
non_primary_inspection_category_code = NULL,
non_primary_inspection_category_name = NULL,
primary_inspection_category_code = NULL,
primary_inspection_category_name = NULL, overall_rating = NULL,
region = NULL, regulated_activity = NULL, report_type = NULL,
verbose = TRUE, clean_names = TRUE)
|
constituency |
Location is in a given parliamentary constituency |
local_authority |
Location is in a given local authority. |
inspection_directorate |
The type of inspection directorate. Accepts one or more off "Adult social care", "Hospitals", "Primary medical services" or "Unspecified". |
non_primary_inspection_category_code |
The non-primary inspection category code. e.g. "H1" |
non_primary_inspection_category_name |
The non-primary inspection category name. e.g. "Slimming Clinics". |
primary_inspection_category_code |
The primary inspection category code. e.g. "H1" |
primary_inspection_category_name |
The primary inspection category name. e.g. "Slimming Clinics" |
overall_rating |
Include only locations with a given inspection rating. e.g. "Good". Accepts character vector of multiple inspection ratings. |
region |
Region of the UK, e.g. "London" or "North East". |
regulated_activity |
The type of activity at a location, e.g. "Accommodation for persons who require treatment for substance misuse". |
report_type |
The type of report, e.g. "Location", "Provider" or "CoreService". |
verbose |
If |
clean_names |
If |
A tibble with the provider ID, name and postcode of all providers meeting the given parameters.
1 2 | # All providers in Tower Hamlets
prov1 <- cqc_providers(local_authority = "Tower Hamlets")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.