fetch_regions | R Documentation |
Fetch regions
fetch_regions()
data frame of unique location names and codes
Other fetch_locations:
fetch_countries()
,
fetch_lads()
,
fetch_las()
,
fetch_wards()
# Using head() to show only top 5 rows for examples
head(fetch_wards())
head(fetch_pcons())
head(fetch_pcons(2023))
head(fetch_pcons(countries = "Scotland"))
head(fetch_pcons(year = 2023, countries = c("England", "Wales")))
fetch_lads(2024, "Wales")
fetch_las(2022, "Northern Ireland")
# The following have no specific years available and return all values
fetch_regions()
fetch_countries()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.