Restore 2018 tract map layer for SDOH and internet variables - #407
Merged
Merged
Conversation
✅ Deploy Preview for oeps ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Summary
build_map_configso table CSVs attach to the matching tract vintage (not a single shared tract layer)explorer/config/sources.json(S3 map CSVs uploaded)Fixes #403
Why this broke
In May 2025 the explorer switched its only “US Tracts” layer from 2018 tiles to 2020 tiles (
use new 2020 tilesets for explorer).SDOH / Limited Mobility (
LimMobInd, etc.) and internet access (NoIntP) still use 2018-keyedHEROP_IDs (tract-sdoh-2014,tract-2019→geo-2018-tract). Those CSVs were then joined onto 2020 tract geometry, so roughly ~24% of tracts had no match and looked blank / “missing,” even though the data files were fine.build_map_configonly kept one explorer geodata source per summary level, so 2018 tract geography could not appear on the map at all.What this PR does
explorer_configback ongeo-2018-tract(tilesherop-lab.0eeozlm3) as US Tracts (2018)sources.jsonand routes each table to the correct layerSelecting Limited Mobility / related SDOH should use Tracts (2018); 2020/2025 variables stay on Tracts (2020).
Test plan
MoudTyp/MetTmDr2) still works on Tracts (2020)