| lookup_geography | R Documentation |
Search for UK geography codes by name. Returns matching geographies from local authorities, regions, wards, and other levels.
lookup_geography(search_term, dataset_id = "NM_1_1", type = NULL)
search_term |
Name or partial name to search (e.g., "London", "Manchester") |
dataset_id |
Dataset to search in (default: "NM_1_1") |
type |
Optional geography TYPE code to filter results |
Tibble of matching geographies with codes and names
lookup_geography("London")
lookup_geography("Manchester")
lookup_geography("Birmingham", type = "TYPE464") # Local authorities only
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.