Repository navigation
feat: maps for health boards, Wales and UK councils, plus WIMD 2025 - #3
Merged
Merged
Conversation
added 3 commits
November 10, 2026 16:49
…D 2025 The build is now driven by map sets: each source layer is cut to each area in each map type. New files cover LSOA and MSOA for every Welsh health board area and for all of Wales, councils for Wales, England and Wales, Scotland and Northern Ireland (2011, 2021, 2026), Welsh health boards (2023) and primary care clusters (2019, 2024). 174 map files, up from 84. Adds the real Welsh Index of Multiple Deprivation 2025 from DataMapWales, sample data for every level and year, and a generated catalogue of all files. ONS withdrew public access to its 20 m census boundary services on 10/11/2026, so the health board and all-Wales maps use the public 200 m layers. Preview images now use three colours assigned so neighbouring groups differ.
…D 2025 The area, level, version, map type, data and measure slicers now come from the map sets, and any requested view resolves to one that exists. LSOA 2021 maps can switch from the synthetic sample to the real WIMD 2025 ranks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
data/wimd/wimd-2025-lsoa.csvholds the real Welsh Index of Multiple Deprivation 2025 for all 1,917 LSOAs, from DataMapWales. The dashboard can show it on any 2021 LSOA map.scripts/sources.tsnow describes map sets (sources, areas, map types), andscripts/download.tshandles both ONS and DataMapWales.docs/map-files.mdis a generated catalogue of every file. The README and guides cover the new maps and WIMD.How it was checked
bun run typecheckbun run check: all 174 map files, their images and the data files are in step, and WIMD matches the all-Wales LSOA map code for codebun run site:build, and the dashboard looked right in headless Chrome (all-Wales WIMD, health board WIMD as hexmap, councils hexmap, clusters in dark mode)Notes for the reviewer