Add the geo trees for SE and US as linked tables, and build each locale's address on them #20

Merged
lilleman merged 14 commits from geo-tables into main 2026-09-18 01:44:02 +02:00
Owner

Step 2 of the data plan in todo.md: geo/SE and geo/US as five linked tables each (region, municipality, locality, postal-code and street), rebuilt by data-import/geo-se.py from SCB, GeoNames and Trafikverket NVDB and by data-import/geo-us.py from the Census Bureau; an address record per country over one consistent draw, which sv_SE.address and en_US.address read. Two child tables under one pinned ancestor are tested; the tests that loaded one locale now load the whole set; a column walk skips tables without token cells.

Step 2 of the data plan in todo.md: geo/SE and geo/US as five linked tables each (region, municipality, locality, postal-code and street), rebuilt by data-import/geo-se.py from SCB, GeoNames and Trafikverket NVDB and by data-import/geo-us.py from the Census Bureau; an address record per country over one consistent draw, which sv_SE.address and en_US.address read. Two child tables under one pinned ancestor are tested; the tests that loaded one locale now load the whole set; a column walk skips tables without token cells.
lilleman added 7 commits 2026-09-18 00:55:51 +02:00
lilleman added 3 commits 2026-09-18 01:10:46 +02:00
lilleman added 2 commits 2026-09-18 01:34:13 +02:00
lilleman added 2 commits 2026-09-18 01:42:11 +02:00
Rebuild the US tree with ZCTAs ranked among incorporated places
Tests / vet + fmt + tests (pull_request) Successful in 1m19s
Tests / Gitea release from CHANGELOG.md (pull_request) Has been skipped
Tests / vet + fmt + tests (push) Successful in 7s
Tests / Gitea release from CHANGELOG.md (push) Successful in 5s
b6219bf76a
lilleman marked the pull request as ready for review 2026-09-18 01:43:53 +02:00
lilleman merged commit b6219bf76a into main 2026-09-18 01:44:02 +02:00
lilleman deleted branch geo-tables 2026-09-18 01:44:02 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: larvit/fejkdata#20