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:
Fabio
2026-07-03 23:35:00 -04:00
parent 6b3249ecc0
commit 5b0712c31f
5989 changed files with 304296 additions and 0 deletions
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "KY-01"
classification: congressional-district
state: "KY"
district: "KY-01"
demographics:
population: 759138
population_under_18: 191459
population_18_64: 234659
population_65_plus: 333020
median_household_income: 57974
poverty_rate: 15.76
homeownership_rate: 68.57
unemployment_rate: 3.82
median_home_value: 188700
gini_index: 0.444
vacancy_rate: 11.11
race_white: 647764
race_black: 49661
race_asian: 5301
hispanic: 32920
bachelors_plus: 111124
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ky]
timestamp: "2026-07-03"
---
# KY-01
Congressional district KY-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 759138 |
| Under 18 | 191459 |
| 1864 | 234659 |
| 65+ | 333020 |
| Median household income | 57974 |
| Poverty rate | 15.76 |
| Homeownership rate | 68.57 |
| Unemployment rate | 3.82 |
| Median home value | 188700 |
| Gini index | 0.444 |
| Vacancy rate | 11.11 |
| White | 647764 |
| Black | 49661 |
| Asian | 5301 |
| Hispanic/Latino | 32920 |
| Bachelor's or higher | 111124 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "KY-02"
classification: congressional-district
state: "KY"
district: "KY-02"
demographics:
population: 775395
population_under_18: 194252
population_18_64: 253801
population_65_plus: 327342
median_household_income: 68629
poverty_rate: 14.16
homeownership_rate: 70.48
unemployment_rate: 4.85
median_home_value: 231500
gini_index: 0.4607
vacancy_rate: 7.99
race_white: 645386
race_black: 36285
race_asian: 20442
hispanic: 38111
bachelors_plus: 126729
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ky]
timestamp: "2026-07-03"
---
# KY-02
Congressional district KY-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 775395 |
| Under 18 | 194252 |
| 1864 | 253801 |
| 65+ | 327342 |
| Median household income | 68629 |
| Poverty rate | 14.16 |
| Homeownership rate | 70.48 |
| Unemployment rate | 4.85 |
| Median home value | 231500 |
| Gini index | 0.4607 |
| Vacancy rate | 7.99 |
| White | 645386 |
| Black | 36285 |
| Asian | 20442 |
| Hispanic/Latino | 38111 |
| Bachelor's or higher | 126729 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "KY-03"
classification: congressional-district
state: "KY"
district: "KY-03"
demographics:
population: 763950
population_under_18: 187342
population_18_64: 264604
population_65_plus: 312004
median_household_income: 68989
poverty_rate: 14.65
homeownership_rate: 60.99
unemployment_rate: 6.15
median_home_value: 249300
gini_index: 0.4793
vacancy_rate: 8.49
race_white: 463031
race_black: 152629
race_asian: 27194
hispanic: 79266
bachelors_plus: 192403
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ky]
timestamp: "2026-07-03"
---
# KY-03
Congressional district KY-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 763950 |
| Under 18 | 187342 |
| 1864 | 264604 |
| 65+ | 312004 |
| Median household income | 68989 |
| Poverty rate | 14.65 |
| Homeownership rate | 60.99 |
| Unemployment rate | 6.15 |
| Median home value | 249300 |
| Gini index | 0.4793 |
| Vacancy rate | 8.49 |
| White | 463031 |
| Black | 152629 |
| Asian | 27194 |
| Hispanic/Latino | 79266 |
| Bachelor's or higher | 192403 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "KY-04"
classification: congressional-district
state: "KY"
district: "KY-04"
demographics:
population: 776082
population_under_18: 196316
population_18_64: 244685
population_65_plus: 335081
median_household_income: 81874
poverty_rate: 11.67
homeownership_rate: 76.37
unemployment_rate: 4.47
median_home_value: 280600
gini_index: 0.4594
vacancy_rate: 6.7
race_white: 676142
race_black: 17788
race_asian: 10305
hispanic: 37068
bachelors_plus: 169584
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ky]
timestamp: "2026-07-03"
---
# KY-04
Congressional district KY-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 776082 |
| Under 18 | 196316 |
| 1864 | 244685 |
| 65+ | 335081 |
| Median household income | 81874 |
| Poverty rate | 11.67 |
| Homeownership rate | 76.37 |
| Unemployment rate | 4.47 |
| Median home value | 280600 |
| Gini index | 0.4594 |
| Vacancy rate | 6.7 |
| White | 676142 |
| Black | 17788 |
| Asian | 10305 |
| Hispanic/Latino | 37068 |
| Bachelor's or higher | 169584 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "KY-05"
classification: congressional-district
state: "KY"
district: "KY-05"
demographics:
population: 736508
population_under_18: 176463
population_18_64: 224282
population_65_plus: 335763
median_household_income: 46664
poverty_rate: 24.28
homeownership_rate: 72.49
unemployment_rate: 5.56
median_home_value: 121100
gini_index: 0.4696
vacancy_rate: 13.1
race_white: 689461
race_black: 10543
race_asian: 2816
hispanic: 11460
bachelors_plus: 82958
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ky]
timestamp: "2026-07-03"
---
# KY-05
Congressional district KY-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 736508 |
| Under 18 | 176463 |
| 1864 | 224282 |
| 65+ | 335763 |
| Median household income | 46664 |
| Poverty rate | 24.28 |
| Homeownership rate | 72.49 |
| Unemployment rate | 5.56 |
| Median home value | 121100 |
| Gini index | 0.4696 |
| Vacancy rate | 13.1 |
| White | 689461 |
| Black | 10543 |
| Asian | 2816 |
| Hispanic/Latino | 11460 |
| Bachelor's or higher | 82958 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "KY-06"
classification: congressional-district
state: "KY"
district: "KY-06"
demographics:
population: 777299
population_under_18: 195456
population_18_64: 270541
population_65_plus: 311302
median_household_income: 68419
poverty_rate: 13.38
homeownership_rate: 60.64
unemployment_rate: 4.43
median_home_value: 280100
gini_index: 0.4649
vacancy_rate: 6.6
race_white: 614404
race_black: 59425
race_asian: 20103
hispanic: 53815
bachelors_plus: 196371
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ky]
timestamp: "2026-07-03"
---
# KY-06
Congressional district KY-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 777299 |
| Under 18 | 195456 |
| 1864 | 270541 |
| 65+ | 311302 |
| Median household income | 68419 |
| Poverty rate | 13.38 |
| Homeownership rate | 60.64 |
| Unemployment rate | 4.43 |
| Median home value | 280100 |
| Gini index | 0.4649 |
| Vacancy rate | 6.6 |
| White | 614404 |
| Black | 59425 |
| Asian | 20103 |
| Hispanic/Latino | 53815 |
| Bachelor's or higher | 196371 |
## Source
- demographics: Census ACS 2023