Repository navigation
feat!: hex maps, dashboard site, guides and repo files - #1
Merged
Merged
Conversation
added 4 commits
November 10, 2026 16:05
Map files move to maps/<year>/<level>/<council>/<type>/, where type is geographic, hexmap or geogrid. Hexagons are computed in R (scripts/hex.R) and cached. geogrid is built for LSOA and MSOA only, because it takes hours for Output Areas. Adds a check script for the generated outputs, and stops tracking CLAUDE.md. BREAKING CHANGE: every map and image path has changed.
One made-up CSV per level and version, and a dependency-free dashboard that previews every map file with slicers for map type, version, level, area and measure.
Guides cover using the maps in Power BI, what a map file needs, mapshaper (how-to and cheat sheet) and preparing your own map as a Power BI file, hexmap or geogrid.
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
hexmap, and every LSOA and MSOA map as ageogrid(75 map files in total, each with a preview image).maps/<year>/<level>/<council>/<type>/, where type isgeographic,hexmaporgeogrid.data/synthetic/holds one made-up CSV per level and version.site/is a dependency-free page with slicers for map type, version, level, area and measure.pages.ymldeploys it frommain.docs/covers using the maps in Power BI, what a map file needs, mapshaper (how-to and cheat sheet) and preparing your own map as a Power BI file, hexmap or geogrid.check.ymlworkflow (type check, output check, site build).How it was checked
bun run typecheckbun run check: all 75 map files, their images and the sample data are in stepbun run site:build, and the dashboard looked right in headless Chrome (geographic, hexmap, geogrid, dark mode, geogrid fallback for OA)Notes for the reviewer
HEX_LEVELSinscripts/sources.tsswitches it on.CLAUDE.mdis no longer tracked, but it remains in the first commit's history.