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"
# Gregg County, TX
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -0,0 +1,39 @@
---
type: Person
title: "Ronnie E. Spradlin III"
description: "Mayor, Kilgore, TX"
role: "Mayor, Kilgore, TX"
level: "municipal"
branch: "executive"
state: "TX"
tenure:
start: "2010-01-01"
current: true
ids:
person: "eaa7c18e-1e0d-4862-96e9-10c2b73ed313"
office: "a7675497-1727-4a3d-83f3-68224e2d68bd"
tenure: "dbf78198-313b-43bb-a125-b260ef464fd9"
jurisdiction: "f6b76417-1f4b-43cd-b62a-f265dec9265d"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, tx]
timestamp: "2026-07-04"
---
# Ronnie E. Spradlin III
Current Mayor, Kilgore, TX.
## 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: "James Andrew Mack"
description: "Mayor, Longview, TX"
role: "Mayor, Longview, TX"
level: "municipal"
branch: "executive"
state: "TX"
tenure:
start: "2015-05-01"
current: true
ids:
person: "8bac540a-fca5-49e0-8636-9e524c369d21"
office: "5e0fa587-002f-478c-933d-5c5494e315db"
tenure: "c6d72727-1c42-412f-a557-ea5b7d6b2f5c"
jurisdiction: "89009ebd-2378-48f3-a7d3-43555ce0b1fc"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, tx]
timestamp: "2026-07-04"
---
# James Andrew Mack
Current Mayor, Longview, TX.
## Sources
- office: Wikidata
- tenure: Wikidata
- jurisdiction: Census TIGER 2024
Generated from the Atlas officeholders v3 export (2026-07-04).