Municipals: nest 1,823 city officeholders under their real counties

Pull Atlas's place→county crosswalk (Census TIGER 2024 places × county
geometries, 32,041 places) into the build as a committed raw input, and
use it to resolve municipal officeholders whose county was unknown.

- data/place_county_crosswalk.jsonl — new raw input (place_geoid → county_geoid)
- build.py — place-name+state → county_geoid → ACS county slug as a fallback
  in county_slug(); city_slug() generalized to non-FL bare place labels
- data/sources/sources.yaml — provenance entry for the crosswalk

_unresolved municipals: 1919 → 58. The remainder are genuine: CT planning
regions (post-county), county-level rows mislabeled municipal upstream,
consolidated city-counties (null label), Wikidata-QID placeholder names,
and ambiguous same-name places — left unresolved rather than guessed.

Join key is county_geoid (5-digit FIPS); the directory slug is taken from
the ACS county node so municipals nest under the exact existing county dir.
Deterministic (byte-identical rebuild); validate.py passes 19,721 records.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Fabio
2026-07-04 20:23:57 -04:00
parent ad7607856d
commit 199d8b37d3
2893 changed files with 33094 additions and 995 deletions
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Whatcom County, WA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -0,0 +1,39 @@
---
type: Person
title: "Kim Lund"
description: "Mayor, Bellingham, WA"
role: "Mayor, Bellingham, WA"
level: "municipal"
branch: "executive"
state: "WA"
tenure:
start: "2024-01-01"
current: true
ids:
person: "c4ae4336-f039-47b9-9547-2e75b29a81be"
office: "0e9c17aa-a02c-4f0d-9c93-6b33c5298ef9"
tenure: "1fd1c834-191e-42b6-8a99-885e99303632"
jurisdiction: "8dad631b-f9f5-4901-a318-994d8e3bc38c"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, wa]
timestamp: "2026-07-04"
---
# Kim Lund
Current Mayor, Bellingham, WA.
## Sources
- office: Wikidata
- tenure: Wikidata
- jurisdiction: Census TIGER 2024
Generated from the Atlas officeholders v3 export (2026-07-04).
@@ -0,0 +1,39 @@
---
type: Person
title: "Greg Hansen"
description: "Mayor, Ferndale, WA"
role: "Mayor, Ferndale, WA"
level: "municipal"
branch: "executive"
state: "WA"
tenure:
start: "2026-06-20"
current: true
ids:
person: "43c7122c-b67a-40a6-90be-9512dfcc125f"
office: "9b4aa136-8ad4-4b40-8071-64dcf46c0093"
tenure: "cf01d075-f871-4863-9e71-694c1df45a3d"
jurisdiction: "113b8a47-c2a3-48eb-a30f-9b88e7a20479"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, wa]
timestamp: "2026-07-04"
---
# Greg Hansen
Current Mayor, Ferndale, WA.
## Sources
- office: Wikidata
- tenure: Wikidata
- jurisdiction: Census TIGER 2024
Generated from the Atlas officeholders v3 export (2026-07-04).