Add elections + demographics layer: candidates and jurisdictions
Two new entity types, built deterministically from the raw exports:
Candidate (2,494) — 2026 federal candidates as files under
us/states/<st>/candidates/, with office,
district, party, incumbent/challenger stance,
campaign committee, FEC id.
Jurisdiction (3,494) — demographic nodes carrying ACS 2023 data:
3,131 counties (deduped from 3,231 mixed-format
fips keys) + 363 congressional districts.
This completes the county skeleton nationwide: every US county is now a
browsable node with population, income, poverty, race, education and
housing — even where no officeholders are mapped yet. In Florida the
county index.md merges into the existing dir and reports its officeholder
count alongside demographics (St. Lucie: 33 officeholders + ACS profile).
build.py now reads seven raw inputs in one deterministic pass
(byte-identical on rerun). The mirror now answers: who holds power, who
runs this institution, who is running, and what each place is made of.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "PA-17"
|
||||
classification: congressional-district
|
||||
state: "PA"
|
||||
district: "PA-17"
|
||||
demographics:
|
||||
population: 753416
|
||||
population_under_18: 166691
|
||||
population_18_64: 232183
|
||||
population_65_plus: 354542
|
||||
median_household_income: 88580
|
||||
poverty_rate: 9.11
|
||||
homeownership_rate: 73.49
|
||||
unemployment_rate: 3.56
|
||||
median_home_value: 256300
|
||||
gini_index: 0.4664
|
||||
vacancy_rate: 8.32
|
||||
race_white: 616111
|
||||
race_black: 56413
|
||||
race_asian: 22589
|
||||
hispanic: 22522
|
||||
bachelors_plus: 260566
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, pa]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# PA-17
|
||||
|
||||
Congressional district PA-17.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 753416 |
|
||||
| Under 18 | 166691 |
|
||||
| 18–64 | 232183 |
|
||||
| 65+ | 354542 |
|
||||
| Median household income | 88580 |
|
||||
| Poverty rate | 9.11 |
|
||||
| Homeownership rate | 73.49 |
|
||||
| Unemployment rate | 3.56 |
|
||||
| Median home value | 256300 |
|
||||
| Gini index | 0.4664 |
|
||||
| Vacancy rate | 8.32 |
|
||||
| White | 616111 |
|
||||
| Black | 56413 |
|
||||
| Asian | 22589 |
|
||||
| Hispanic/Latino | 22522 |
|
||||
| Bachelor's or higher | 260566 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
Reference in New Issue
Block a user