Concepts
Crosswalks
Three kinds
| Kind | What it says | Example |
|---|---|---|
| Clean containment | Each area sits wholly inside exactly one larger area. | Wards within local authorities |
| Historical lookup | Which new areas replaced which old ones, as published by the official source. | 2010 constituencies to 2024 constituencies |
| Area overlap | How much areas that don't nest overlap each other, with weights that add up to 1. | Constituencies and local authorities |
Every crosswalk is checked before it's published. Containment must give each area exactly one parent, and overlap weights must add up. Get a crosswalk shows the results with its method and quality.
What they're used for
- Finding an area's parents and children.
- Translating a code from one geography or year to another.
- Converting data onto different areas, such as ward counts up to councils.
- Listing the areas inside a named location.
The API never picks a crosswalk for you when it matters. When you convert data, you name the crosswalk, and the response repeats how it was made.
Converting for analysis
A crosswalk existing doesn't make every conversion through it sound. Moving collisions counted on LSOAs up to councils works, because each LSOA sits inside one council and collisions add up; adding ward medians up into a council median doesn't. The Atlas keeps a list of the measure, source and boundary combinations it has reviewed as safe to convert:
curl "https://api.ukdataatlas.com/v1/analysis-geographies?measure=road-collisions"Before fetching anything, ask for a plan. It names the source figures, the crosswalk and whether the period can be compared on the boundaries you want, and always offers the publisher's own figures as a safer alternative. It fetches and changes no data:
curl "https://api.ukdataatlas.com/v1/analysis:plan?measure=road-collisions&period=2025&geography=lsoa&codeYear=2021&to=localAuthority/2023-05-uk-bgc-v2"A reviewed conversion can then be used with analysisGeography on Get a time series, or through Convert to other areas. A combination that hasn't been reviewed is reported as not-comparable, never quietly substituted.
Not sure which conversions exist? Ask what's published from one exact release. Add a to release and a purpose to compare the paths between them, with their coverage and what each may be used for:
curl "https://api.ukdataatlas.com/v1/relationships?from=ward/2023-12-uk-bgc&to=localAuthority/2023-12-uk-bgc&purpose=membership"Translating a code
Here's a ward translated into the local authority it belongs to. purpose=membership asks for containment:
curl "https://api.ukdataatlas.com/v1/translations?from=ward/2024-12-uk-bgc&code=E05000932&to=localAuthority/2024-12-uk-bgc&purpose=membership"{
"apiVersion": "v1",
"atlasRelease": "sha256:5c4aa4529cbfbd5e4c844c55cddba1ef04a7bf76f3eaa085a357fff401af6d0c",
"data": {
"source": {
"geography": "ward",
"boundaryRelease": "2024-12-uk-bgc",
"code": "E05000932"
},
"target": {
"geography": "localAuthority",
"boundaryRelease": "2024-12-uk-bgc"
},
"purpose": "membership",
"paths": [
{
"id": "ward-2024-12-uk-bgc-to-local-authority-2024-12-uk-bgc-clean-containment/forward/membership",
"purpose": "membership",
"from": {
"geography": "ward",
"boundaryRelease": "2024-12-uk-bgc"
},
"to": {
"geography": "localAuthority",
"boundaryRelease": "2024-12-uk-bgc"
},
"quality": "publisher-supplied",
"origin": "crosswalk",
"steps": [
{
"crosswalkId": "ward-2024-12-uk-bgc-to-local-authority-2024-12-uk-bgc-clean-containment",
"direction": "forward",
"method": "clean-containment",
"purpose": "membership"
}
]
}
],
"matches": [
{
"crosswalk": {
"id": "ward-2024-12-uk-bgc-to-local-authority-2024-12-uk-bgc-clean-containment",
"method": "clean-containment",
"quality": "publisher-supplied",
"weighting": {
"status": "not-applicable"
},
"provenance": {
"input": "boundaries/ward/2024-12-uk-bgc/Wards_December_2024_Boundaries_UK_BGC_-2654605954884295357.geojson",
"inputHash": "sha256:8d74542cadd4da4801c5ed0f6db1a3eb4437327cdd7b77030c4fbcf01e0d9177"
},
"direction": "forward"
},
"source": {
"code": "E05000932",
"labels": [
"Ainsdale"
]
},
"targets": [
{
"code": "E08000014",
"labels": [
"Sefton"
]
}
]
}
]
},
"meta": {
"nextCursor": null
}
}When there's no crosswalk
Crosswalks link exact releases, and publishers don't publish one for every pair. December 2019 wards have no lookup to the 2024 constituencies, for example, though May 2025 wards do. Ask before you convert:
curl "https://api.ukdataatlas.com/v1/relationships?from=ward/2019-12-uk-bgc&to=constituency/2024-07-uk-bgc&purpose=apportion"status is available, partial or unsupported, and reason says why. When no single crosswalk links the two, the API looks for a route through several. Here the route goes via local authorities, and its coverage shows only about two in three wards get through, while operations says it may only be used for weighted estimates.
When the answer isn't good enough, you can:
- Get the same data from its publisher on a release that has a lookup, such as May 2025 wards.
- Use the publisher's own figures for the target areas, where they exist.
- Accept a partial route as an estimate, and report its coverage alongside the results.
Converting your own counts goes through one named crosswalk between the exact releases, and a best-fit crosswalk can't convert counts. If a lookup you need is missing, open an issue and say which releases it should join.
Useful endpoints
get/crosswalksList crosswalksget/translationsTranslate an area codeget/areas/{geography}/{release}/{code}/relationshipsGet an area's relationshipsget/relationshipsExplore geography relationshipsget/analysis-geographiesList reviewed conversionsget/analysis:planPreflight an analysis conversionpost/crosswalks/{crosswalk-id}:convertConvert your own counts