powered by
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)
Tibble of matching geographies with codes and names
Name or partial name to search (e.g., "London", "Manchester")
Dataset to search in (default: "NM_1_1")
Optional geography TYPE code to filter results
# \donttest{ lookup_geography("London") lookup_geography("Manchester") lookup_geography("Birmingham", type = "TYPE464") # Local authorities only # }
Run the code above in your browser using DataLab