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: "MO-01"
classification: congressional-district
state: "MO"
district: "MO-01"
demographics:
population: 742814
population_under_18: 169803
population_18_64: 270663
population_65_plus: 302348
median_household_income: 60692
poverty_rate: 17.3
homeownership_rate: 54.35
unemployment_rate: 4.8
median_home_value: 195300
gini_index: 0.5102
vacancy_rate: 12.49
race_white: 317642
race_black: 321649
race_asian: 28121
hispanic: 37905
bachelors_plus: 209107
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-01
Congressional district MO-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 742814 |
| Under 18 | 169803 |
| 1864 | 270663 |
| 65+ | 302348 |
| Median household income | 60692 |
| Poverty rate | 17.3 |
| Homeownership rate | 54.35 |
| Unemployment rate | 4.8 |
| Median home value | 195300 |
| Gini index | 0.5102 |
| Vacancy rate | 12.49 |
| White | 317642 |
| Black | 321649 |
| Asian | 28121 |
| Hispanic/Latino | 37905 |
| Bachelor's or higher | 209107 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-02"
classification: congressional-district
state: "MO"
district: "MO-02"
demographics:
population: 773921
population_under_18: 185047
population_18_64: 232615
population_65_plus: 356259
median_household_income: 101494
poverty_rate: 6.18
homeownership_rate: 78.34
unemployment_rate: 2.44
median_home_value: 364700
gini_index: 0.4588
vacancy_rate: 4.71
race_white: 650084
race_black: 27100
race_asian: 40926
hispanic: 27784
bachelors_plus: 279589
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-02
Congressional district MO-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 773921 |
| Under 18 | 185047 |
| 1864 | 232615 |
| 65+ | 356259 |
| Median household income | 101494 |
| Poverty rate | 6.18 |
| Homeownership rate | 78.34 |
| Unemployment rate | 2.44 |
| Median home value | 364700 |
| Gini index | 0.4588 |
| Vacancy rate | 4.71 |
| White | 650084 |
| Black | 27100 |
| Asian | 40926 |
| Hispanic/Latino | 27784 |
| Bachelor's or higher | 279589 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-03"
classification: congressional-district
state: "MO"
district: "MO-03"
demographics:
population: 799877
population_under_18: 189833
population_18_64: 263116
population_65_plus: 346928
median_household_income: 84323
poverty_rate: 10.41
homeownership_rate: 73.17
unemployment_rate: 2.78
median_home_value: 293700
gini_index: 0.4319
vacancy_rate: 9.01
race_white: 682469
race_black: 39454
race_asian: 19008
hispanic: 28773
bachelors_plus: 199976
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-03
Congressional district MO-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 799877 |
| Under 18 | 189833 |
| 1864 | 263116 |
| 65+ | 346928 |
| Median household income | 84323 |
| Poverty rate | 10.41 |
| Homeownership rate | 73.17 |
| Unemployment rate | 2.78 |
| Median home value | 293700 |
| Gini index | 0.4319 |
| Vacancy rate | 9.01 |
| White | 682469 |
| Black | 39454 |
| Asian | 19008 |
| Hispanic/Latino | 28773 |
| Bachelor's or higher | 199976 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-04"
classification: congressional-district
state: "MO"
district: "MO-04"
demographics:
population: 784156
population_under_18: 199484
population_18_64: 250095
population_65_plus: 334577
median_household_income: 68144
poverty_rate: 11.95
homeownership_rate: 70.96
unemployment_rate: 3.23
median_home_value: 242300
gini_index: 0.4397
vacancy_rate: 13.48
race_white: 662034
race_black: 28982
race_asian: 9102
hispanic: 46182
bachelors_plus: 132902
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-04
Congressional district MO-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 784156 |
| Under 18 | 199484 |
| 1864 | 250095 |
| 65+ | 334577 |
| Median household income | 68144 |
| Poverty rate | 11.95 |
| Homeownership rate | 70.96 |
| Unemployment rate | 3.23 |
| Median home value | 242300 |
| Gini index | 0.4397 |
| Vacancy rate | 13.48 |
| White | 662034 |
| Black | 28982 |
| Asian | 9102 |
| Hispanic/Latino | 46182 |
| Bachelor's or higher | 132902 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-05"
classification: congressional-district
state: "MO"
district: "MO-05"
demographics:
population: 776496
population_under_18: 187855
population_18_64: 286333
population_65_plus: 302308
median_household_income: 67960
poverty_rate: 15.14
homeownership_rate: 59.54
unemployment_rate: 3.3
median_home_value: 247200
gini_index: 0.4644
vacancy_rate: 8.46
race_white: 472023
race_black: 164290
race_asian: 17248
hispanic: 96646
bachelors_plus: 192464
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-05
Congressional district MO-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 776496 |
| Under 18 | 187855 |
| 1864 | 286333 |
| 65+ | 302308 |
| Median household income | 67960 |
| Poverty rate | 15.14 |
| Homeownership rate | 59.54 |
| Unemployment rate | 3.3 |
| Median home value | 247200 |
| Gini index | 0.4644 |
| Vacancy rate | 8.46 |
| White | 472023 |
| Black | 164290 |
| Asian | 17248 |
| Hispanic/Latino | 96646 |
| Bachelor's or higher | 192464 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-06"
classification: congressional-district
state: "MO"
district: "MO-06"
demographics:
population: 788896
population_under_18: 200956
population_18_64: 241699
population_65_plus: 346241
median_household_income: 75637
poverty_rate: 10.07
homeownership_rate: 74.49
unemployment_rate: 2.69
median_home_value: 240500
gini_index: 0.4308
vacancy_rate: 11.24
race_white: 689640
race_black: 29468
race_asian: 9723
hispanic: 33023
bachelors_plus: 152523
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-06
Congressional district MO-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 788896 |
| Under 18 | 200956 |
| 1864 | 241699 |
| 65+ | 346241 |
| Median household income | 75637 |
| Poverty rate | 10.07 |
| Homeownership rate | 74.49 |
| Unemployment rate | 2.69 |
| Median home value | 240500 |
| Gini index | 0.4308 |
| Vacancy rate | 11.24 |
| White | 689640 |
| Black | 29468 |
| Asian | 9723 |
| Hispanic/Latino | 33023 |
| Bachelor's or higher | 152523 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-07"
classification: congressional-district
state: "MO"
district: "MO-07"
demographics:
population: 803037
population_under_18: 198979
population_18_64: 267463
population_65_plus: 336595
median_household_income: 66064
poverty_rate: 11.94
homeownership_rate: 66.08
unemployment_rate: 3.49
median_home_value: 242400
gini_index: 0.4517
vacancy_rate: 10.72
race_white: 686687
race_black: 15684
race_asian: 11154
hispanic: 54833
bachelors_plus: 158195
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-07
Congressional district MO-07.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 803037 |
| Under 18 | 198979 |
| 1864 | 267463 |
| 65+ | 336595 |
| Median household income | 66064 |
| Poverty rate | 11.94 |
| Homeownership rate | 66.08 |
| Unemployment rate | 3.49 |
| Median home value | 242400 |
| Gini index | 0.4517 |
| Vacancy rate | 10.72 |
| White | 686687 |
| Black | 15684 |
| Asian | 11154 |
| Hispanic/Latino | 54833 |
| Bachelor's or higher | 158195 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MO-08"
classification: congressional-district
state: "MO"
district: "MO-08"
demographics:
population: 776269
population_under_18: 191420
population_18_64: 242239
population_65_plus: 342610
median_household_income: 59897
poverty_rate: 15.47
homeownership_rate: 73.79
unemployment_rate: 3.31
median_home_value: 200200
gini_index: 0.4474
vacancy_rate: 12.0
race_white: 685157
race_black: 27249
race_asian: 6366
hispanic: 21554
bachelors_plus: 115620
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mo]
timestamp: "2026-07-03"
---
# MO-08
Congressional district MO-08.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 776269 |
| Under 18 | 191420 |
| 1864 | 242239 |
| 65+ | 342610 |
| Median household income | 59897 |
| Poverty rate | 15.47 |
| Homeownership rate | 73.79 |
| Unemployment rate | 3.31 |
| Median home value | 200200 |
| Gini index | 0.4474 |
| Vacancy rate | 12.0 |
| White | 685157 |
| Black | 27249 |
| Asian | 6366 |
| Hispanic/Latino | 21554 |
| Bachelor's or higher | 115620 |
## Source
- demographics: Census ACS 2023