Description Usage Arguments Details Value Examples
View source: R/get_authorities.R
Fetches the list of authorities in the FHRS
1 | get_authorities(country = NULL)
|
country |
The country that the authority is located within, as a character string: "England", "Wales", "Scotland" or "Northern Ireland". |
'get_authorities' makes an API call that returns the authorities that submit data to the FHRS scheme, and their ID, which can be used to filter other API calls. It takes an optional country parameter.
A tibble of authorities and their code, the number of establishments they have, and for England or all authorities, their region.
1 2 3 4 5 | # Get all authorities in the FHRS
get_authorities()
# Get all authorities in the FHRS in Scotland
get_authorities("Scotland")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.