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: "AL-01"
classification: congressional-district
state: "AL"
district: "AL-01"
demographics:
population: 760389
population_under_18: 185408
population_18_64: 225626
population_65_plus: 349355
median_household_income: 71253
poverty_rate: 13.9
homeownership_rate: 75.71
unemployment_rate: 4.25
median_home_value: 255700
gini_index: 0.4595
vacancy_rate: 17.71
race_white: 558591
race_black: 121768
race_asian: 12946
hispanic: 41701
bachelors_plus: 147964
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-01
Congressional district AL-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 760389 |
| Under 18 | 185408 |
| 1864 | 225626 |
| 65+ | 349355 |
| Median household income | 71253 |
| Poverty rate | 13.9 |
| Homeownership rate | 75.71 |
| Unemployment rate | 4.25 |
| Median home value | 255700 |
| Gini index | 0.4595 |
| Vacancy rate | 17.71 |
| White | 558591 |
| Black | 121768 |
| Asian | 12946 |
| Hispanic/Latino | 41701 |
| Bachelor's or higher | 147964 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AL-02"
classification: congressional-district
state: "AL"
district: "AL-02"
demographics:
population: 703362
population_under_18: 180711
population_18_64: 226992
population_65_plus: 295659
median_household_income: 54977
poverty_rate: 20.24
homeownership_rate: 64.17
unemployment_rate: 4.94
median_home_value: 175100
gini_index: 0.5008
vacancy_rate: 16.4
race_white: 288085
race_black: 350050
race_asian: 15539
hispanic: 28822
bachelors_plus: 130574
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-02
Congressional district AL-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 703362 |
| Under 18 | 180711 |
| 1864 | 226992 |
| 65+ | 295659 |
| Median household income | 54977 |
| Poverty rate | 20.24 |
| Homeownership rate | 64.17 |
| Unemployment rate | 4.94 |
| Median home value | 175100 |
| Gini index | 0.5008 |
| Vacancy rate | 16.4 |
| White | 288085 |
| Black | 350050 |
| Asian | 15539 |
| Hispanic/Latino | 28822 |
| Bachelor's or higher | 130574 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AL-03"
classification: congressional-district
state: "AL"
district: "AL-03"
demographics:
population: 737665
population_under_18: 179835
population_18_64: 236390
population_65_plus: 321440
median_household_income: 62191
poverty_rate: 16.71
homeownership_rate: 73.09
unemployment_rate: 4.44
median_home_value: 207800
gini_index: 0.4568
vacancy_rate: 15.47
race_white: 523914
race_black: 140546
race_asian: 12104
hispanic: 32660
bachelors_plus: 126407
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-03
Congressional district AL-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 737665 |
| Under 18 | 179835 |
| 1864 | 236390 |
| 65+ | 321440 |
| Median household income | 62191 |
| Poverty rate | 16.71 |
| Homeownership rate | 73.09 |
| Unemployment rate | 4.44 |
| Median home value | 207800 |
| Gini index | 0.4568 |
| Vacancy rate | 15.47 |
| White | 523914 |
| Black | 140546 |
| Asian | 12104 |
| Hispanic/Latino | 32660 |
| Bachelor's or higher | 126407 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AL-04"
classification: congressional-district
state: "AL"
district: "AL-04"
demographics:
population: 735310
population_under_18: 185215
population_18_64: 222455
population_65_plus: 327640
median_household_income: 63203
poverty_rate: 15.6
homeownership_rate: 76.47
unemployment_rate: 3.84
median_home_value: 205600
gini_index: 0.4646
vacancy_rate: 12.46
race_white: 599418
race_black: 48619
race_asian: 4876
hispanic: 64886
bachelors_plus: 115123
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-04
Congressional district AL-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 735310 |
| Under 18 | 185215 |
| 1864 | 222455 |
| 65+ | 327640 |
| Median household income | 63203 |
| Poverty rate | 15.6 |
| Homeownership rate | 76.47 |
| Unemployment rate | 3.84 |
| Median home value | 205600 |
| Gini index | 0.4646 |
| Vacancy rate | 12.46 |
| White | 599418 |
| Black | 48619 |
| Asian | 4876 |
| Hispanic/Latino | 64886 |
| Bachelor's or higher | 115123 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AL-05"
classification: congressional-district
state: "AL"
district: "AL-05"
demographics:
population: 773877
population_under_18: 187265
population_18_64: 256901
population_65_plus: 329711
median_household_income: 80140
poverty_rate: 11.94
homeownership_rate: 70.7
unemployment_rate: 3.37
median_home_value: 294500
gini_index: 0.4586
vacancy_rate: 8.42
race_white: 529417
race_black: 138533
race_asian: 13531
hispanic: 57739
bachelors_plus: 197382
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-05
Congressional district AL-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 773877 |
| Under 18 | 187265 |
| 1864 | 256901 |
| 65+ | 329711 |
| Median household income | 80140 |
| Poverty rate | 11.94 |
| Homeownership rate | 70.7 |
| Unemployment rate | 3.37 |
| Median home value | 294500 |
| Gini index | 0.4586 |
| Vacancy rate | 8.42 |
| White | 529417 |
| Black | 138533 |
| Asian | 13531 |
| Hispanic/Latino | 57739 |
| Bachelor's or higher | 197382 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AL-06"
classification: congressional-district
state: "AL"
district: "AL-06"
demographics:
population: 728184
population_under_18: 186118
population_18_64: 234013
population_65_plus: 308053
median_household_income: 86712
poverty_rate: 9.28
homeownership_rate: 75.87
unemployment_rate: 3.07
median_home_value: 297800
gini_index: 0.4636
vacancy_rate: 7.14
race_white: 523571
race_black: 134283
race_asian: 11736
hispanic: 41804
bachelors_plus: 204288
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-06
Congressional district AL-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 728184 |
| Under 18 | 186118 |
| 1864 | 234013 |
| 65+ | 308053 |
| Median household income | 86712 |
| Poverty rate | 9.28 |
| Homeownership rate | 75.87 |
| Unemployment rate | 3.07 |
| Median home value | 297800 |
| Gini index | 0.4636 |
| Vacancy rate | 7.14 |
| White | 523571 |
| Black | 134283 |
| Asian | 11736 |
| Hispanic/Latino | 41804 |
| Bachelor's or higher | 204288 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AL-07"
classification: congressional-district
state: "AL"
district: "AL-07"
demographics:
population: 718912
population_under_18: 181394
population_18_64: 243047
population_65_plus: 294471
median_household_income: 54635
poverty_rate: 19.34
homeownership_rate: 60.81
unemployment_rate: 6.0
median_home_value: 183200
gini_index: 0.4769
vacancy_rate: 15.92
race_white: 278533
race_black: 368308
race_asian: 8857
hispanic: 39354
bachelors_plus: 135097
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, al]
timestamp: "2026-07-03"
---
# AL-07
Congressional district AL-07.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 718912 |
| Under 18 | 181394 |
| 1864 | 243047 |
| 65+ | 294471 |
| Median household income | 54635 |
| Poverty rate | 19.34 |
| Homeownership rate | 60.81 |
| Unemployment rate | 6.0 |
| Median home value | 183200 |
| Gini index | 0.4769 |
| Vacancy rate | 15.92 |
| White | 278533 |
| Black | 368308 |
| Asian | 8857 |
| Hispanic/Latino | 39354 |
| Bachelor's or higher | 135097 |
## Source
- demographics: Census ACS 2023