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"
# Alameda County, CA
County jurisdiction.
County jurisdiction — 3 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Butte County, CA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Contra Costa County, CA
County jurisdiction.
County jurisdiction — 7 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Fresno County, CA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Imperial County, CA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Kern County, CA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Los Angeles County, CA
County jurisdiction.
County jurisdiction — 26 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Marin County, CA
County jurisdiction.
County jurisdiction — 1 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Monterey County, CA
County jurisdiction.
County jurisdiction — 1 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Napa County, CA
County jurisdiction.
County jurisdiction — 1 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Orange County, CA
County jurisdiction.
County jurisdiction — 9 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Riverside County, CA
County jurisdiction.
County jurisdiction — 8 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# Sacramento County, CA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# San Bernardino County, CA
County jurisdiction.
County jurisdiction — 10 officeholders mapped.
## Demographics (ACS 2023)
@@ -32,7 +32,7 @@ timestamp: "2026-07-03"
# San Diego County, CA
County jurisdiction.
County jurisdiction — 9 officeholders mapped.
## Demographics (ACS 2023)

Some files were not shown because too many files have changed in this diff Show More