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"
# Essex County, NJ
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -0,0 +1,39 @@
---
type: Person
title: "Ted R. Green"
description: "Mayor, East Orange, NJ"
role: "Mayor, East Orange, NJ"
level: "municipal"
branch: "executive"
state: "NJ"
tenure:
start: "2018-01-01"
current: true
ids:
person: "4dfbd691-8cb0-44fd-b6de-2d44526808a9"
office: "2677a023-848f-4314-8ab4-a8f073911e08"
tenure: "a221dffd-16d1-43c2-adb7-f5a1d9463c70"
jurisdiction: "83a82654-b8af-4484-b79c-e259314169ee"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, nj]
timestamp: "2026-07-04"
---
# Ted R. Green
Current Mayor, East Orange, NJ.
## 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: "Q7294641"
description: "Mayor, Newark, NJ"
role: "Mayor, Newark, NJ"
level: "municipal"
branch: "executive"
state: "NJ"
tenure:
start: "2014-07-01"
current: true
ids:
person: "87d1be5c-9a84-4d57-bfa1-2067801e570b"
office: "d5c5fcca-3753-46b3-9753-2a5b29f28a6e"
tenure: "24ffd893-07f4-4a56-8730-5cda05d051d1"
jurisdiction: "3955636f-dcbe-4174-92dd-b21b81565983"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, nj]
timestamp: "2026-07-04"
---
# Q7294641
Current Mayor, Newark, NJ.
## Sources
- office: Wikidata
- tenure: Wikidata
- jurisdiction: Census TIGER 2024
Generated from the Atlas officeholders v3 export (2026-07-04).