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"
# Allegheny County, PA
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -0,0 +1,39 @@
---
type: Person
title: "Michael Cherepko"
description: "Mayor, McKeesport, PA"
role: "Mayor, McKeesport, PA"
level: "municipal"
branch: "executive"
state: "PA"
tenure:
start: "2026-06-20"
current: true
ids:
person: "16db3bed-7e6f-4af7-8fc2-aa3c94555bf6"
office: "7a4e1a3d-bae8-439f-9057-7ab3b053edbf"
tenure: "ace74de3-32e3-4a79-8830-ec16213c14e5"
jurisdiction: "d2e027a8-a8f3-4207-b67c-41007934d384"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, pa]
timestamp: "2026-07-04"
---
# Michael Cherepko
Current Mayor, McKeesport, PA.
## 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: "mayor of Pittsburgh"
description: "Mayor, Pittsburgh, PA"
role: "Mayor, Pittsburgh, PA"
level: "municipal"
branch: "executive"
state: "PA"
tenure:
start: "2026-06-20"
current: true
ids:
person: "39e5b242-dfd4-4161-9c8b-f95d1b80f3b7"
office: "c4ac84ba-da0f-4fdb-a908-40708514949d"
tenure: "02894077-b0d9-4657-84e3-917cfbcc3dc6"
jurisdiction: "2579464f-ce0e-4597-b475-c5bbc6c9ac98"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, pa]
timestamp: "2026-07-04"
---
# mayor of Pittsburgh
Current Mayor, Pittsburgh, PA.
## Sources
- office: Wikidata
- tenure: Wikidata
- jurisdiction: Census TIGER 2024
Generated from the Atlas officeholders v3 export (2026-07-04).