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"
# Johnston County, NC
County jurisdiction.
County jurisdiction — 2 officeholders mapped.
## Demographics (ACS 2023)
@@ -0,0 +1,39 @@
---
type: Person
title: "Jody McLeod"
description: "Mayor, Clayton, NC"
role: "Mayor, Clayton, NC"
level: "municipal"
branch: "executive"
state: "NC"
tenure:
start: "2003-12-01"
current: true
ids:
person: "8bf1cbd7-dd4d-462d-9f57-9724b73ae38e"
office: "6f0ddbec-5362-45c9-8243-20e1a292aaba"
tenure: "49d496ab-f449-4a5d-af15-059bdb9700d2"
jurisdiction: "2d619dc5-f5b3-471d-bb66-41cdac35e8fc"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, nc]
timestamp: "2026-07-04"
---
# Jody McLeod
Current Mayor, Clayton, NC.
## 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: "Byron McAllister"
description: "Mayor, Selma, NC"
role: "Mayor, Selma, NC"
level: "municipal"
branch: "executive"
state: "NC"
tenure:
start: "2021-01-01"
current: true
ids:
person: "7776c1c8-7ef3-4664-b342-53927d22542e"
office: "84f5fa59-b68c-4348-86b4-4f27df46ec59"
tenure: "d9c40b8f-81ab-4353-be78-9f1ff205b82e"
jurisdiction: "b025384f-6ed5-46af-9a27-fea06b951249"
sources:
- field: office
source: "Wikidata"
- field: tenure
source: "Wikidata"
- field: jurisdiction
source: "Census TIGER 2024"
confidence: official
tags: [officeholder, municipal, executive, nc]
timestamp: "2026-07-04"
---
# Byron McAllister
Current Mayor, Selma, NC.
## Sources
- office: Wikidata
- tenure: Wikidata
- jurisdiction: Census TIGER 2024
Generated from the Atlas officeholders v3 export (2026-07-04).