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: "AZ-01"
classification: congressional-district
state: "AZ"
district: "AZ-01"
demographics:
population: 819479
population_under_18: 154568
population_18_64: 268415
population_65_plus: 396496
median_household_income: 102195
poverty_rate: 7.76
homeownership_rate: 64.98
unemployment_rate: 3.19
median_home_value: 696200
gini_index: 0.5024
vacancy_rate: 10.32
race_white: 577813
race_black: 32273
race_asian: 37071
hispanic: 155503
bachelors_plus: 344227
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-01
Congressional district AZ-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 819479 |
| Under 18 | 154568 |
| 1864 | 268415 |
| 65+ | 396496 |
| Median household income | 102195 |
| Poverty rate | 7.76 |
| Homeownership rate | 64.98 |
| Unemployment rate | 3.19 |
| Median home value | 696200 |
| Gini index | 0.5024 |
| Vacancy rate | 10.32 |
| White | 577813 |
| Black | 32273 |
| Asian | 37071 |
| Hispanic/Latino | 155503 |
| Bachelor's or higher | 344227 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-02"
classification: congressional-district
state: "AZ"
district: "AZ-02"
demographics:
population: 853923
population_under_18: 194046
population_18_64: 254419
population_65_plus: 405458
median_household_income: 70376
poverty_rate: 14.94
homeownership_rate: 75.84
unemployment_rate: 5.79
median_home_value: 367800
gini_index: 0.4623
vacancy_rate: 16.54
race_white: 495330
race_black: 18329
race_asian: 12263
hispanic: 168255
bachelors_plus: 165757
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-02
Congressional district AZ-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 853923 |
| Under 18 | 194046 |
| 1864 | 254419 |
| 65+ | 405458 |
| Median household income | 70376 |
| Poverty rate | 14.94 |
| Homeownership rate | 75.84 |
| Unemployment rate | 5.79 |
| Median home value | 367800 |
| Gini index | 0.4623 |
| Vacancy rate | 16.54 |
| White | 495330 |
| Black | 18329 |
| Asian | 12263 |
| Hispanic/Latino | 168255 |
| Bachelor's or higher | 165757 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-03"
classification: congressional-district
state: "AZ"
district: "AZ-03"
demographics:
population: 834750
population_under_18: 244114
population_18_64: 341005
population_65_plus: 249631
median_household_income: 70539
poverty_rate: 17.38
homeownership_rate: 50.63
unemployment_rate: 5.59
median_home_value: 375800
gini_index: 0.4194
vacancy_rate: 7.15
race_white: 223486
race_black: 91481
race_asian: 25719
hispanic: 532785
bachelors_plus: 113037
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-03
Congressional district AZ-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 834750 |
| Under 18 | 244114 |
| 1864 | 341005 |
| 65+ | 249631 |
| Median household income | 70539 |
| Poverty rate | 17.38 |
| Homeownership rate | 50.63 |
| Unemployment rate | 5.59 |
| Median home value | 375800 |
| Gini index | 0.4194 |
| Vacancy rate | 7.15 |
| White | 223486 |
| Black | 91481 |
| Asian | 25719 |
| Hispanic/Latino | 532785 |
| Bachelor's or higher | 113037 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-04"
classification: congressional-district
state: "AZ"
district: "AZ-04"
demographics:
population: 793264
population_under_18: 171375
population_18_64: 316215
population_65_plus: 305674
median_household_income: 82539
poverty_rate: 12.09
homeownership_rate: 55.6
unemployment_rate: 4.38
median_home_value: 449900
gini_index: 0.4412
vacancy_rate: 8.87
race_white: 470113
race_black: 37046
race_asian: 55026
hispanic: 206661
bachelors_plus: 228151
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-04
Congressional district AZ-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 793264 |
| Under 18 | 171375 |
| 1864 | 316215 |
| 65+ | 305674 |
| Median household income | 82539 |
| Poverty rate | 12.09 |
| Homeownership rate | 55.6 |
| Unemployment rate | 4.38 |
| Median home value | 449900 |
| Gini index | 0.4412 |
| Vacancy rate | 8.87 |
| White | 470113 |
| Black | 37046 |
| Asian | 55026 |
| Hispanic/Latino | 206661 |
| Bachelor's or higher | 228151 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-05"
classification: congressional-district
state: "AZ"
district: "AZ-05"
demographics:
population: 902036
population_under_18: 249638
population_18_64: 292087
population_65_plus: 360311
median_household_income: 112116
poverty_rate: 6.7
homeownership_rate: 78.33
unemployment_rate: 3.67
median_home_value: 546900
gini_index: 0.4203
vacancy_rate: 8.64
race_white: 613418
race_black: 35555
race_asian: 52102
hispanic: 186183
bachelors_plus: 250763
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-05
Congressional district AZ-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 902036 |
| Under 18 | 249638 |
| 1864 | 292087 |
| 65+ | 360311 |
| Median household income | 112116 |
| Poverty rate | 6.7 |
| Homeownership rate | 78.33 |
| Unemployment rate | 3.67 |
| Median home value | 546900 |
| Gini index | 0.4203 |
| Vacancy rate | 8.64 |
| White | 613418 |
| Black | 35555 |
| Asian | 52102 |
| Hispanic/Latino | 186183 |
| Bachelor's or higher | 250763 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-06"
classification: congressional-district
state: "AZ"
district: "AZ-06"
demographics:
population: 833838
population_under_18: 171222
population_18_64: 253839
population_65_plus: 408777
median_household_income: 80251
poverty_rate: 10.43
homeownership_rate: 71.57
unemployment_rate: 3.72
median_home_value: 372800
gini_index: 0.4537
vacancy_rate: 8.45
race_white: 554054
race_black: 35487
race_asian: 26914
hispanic: 223135
bachelors_plus: 246335
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-06
Congressional district AZ-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 833838 |
| Under 18 | 171222 |
| 1864 | 253839 |
| 65+ | 408777 |
| Median household income | 80251 |
| Poverty rate | 10.43 |
| Homeownership rate | 71.57 |
| Unemployment rate | 3.72 |
| Median home value | 372800 |
| Gini index | 0.4537 |
| Vacancy rate | 8.45 |
| White | 554054 |
| Black | 35487 |
| Asian | 26914 |
| Hispanic/Latino | 223135 |
| Bachelor's or higher | 246335 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-07"
classification: congressional-district
state: "AZ"
district: "AZ-07"
demographics:
population: 813289
population_under_18: 210236
population_18_64: 301749
population_65_plus: 301304
median_household_income: 60932
poverty_rate: 17.18
homeownership_rate: 62.03
unemployment_rate: 5.43
median_home_value: 278000
gini_index: 0.4454
vacancy_rate: 8.02
race_white: 303912
race_black: 32666
race_asian: 20603
hispanic: 493716
bachelors_plus: 113714
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-07
Congressional district AZ-07.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 813289 |
| Under 18 | 210236 |
| 1864 | 301749 |
| 65+ | 301304 |
| Median household income | 60932 |
| Poverty rate | 17.18 |
| Homeownership rate | 62.03 |
| Unemployment rate | 5.43 |
| Median home value | 278000 |
| Gini index | 0.4454 |
| Vacancy rate | 8.02 |
| White | 303912 |
| Black | 32666 |
| Asian | 20603 |
| Hispanic/Latino | 493716 |
| Bachelor's or higher | 113714 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-08"
classification: congressional-district
state: "AZ"
district: "AZ-08"
demographics:
population: 815902
population_under_18: 174153
population_18_64: 249711
population_65_plus: 392038
median_household_income: 85593
poverty_rate: 9.06
homeownership_rate: 70.46
unemployment_rate: 4.02
median_home_value: 449500
gini_index: 0.4531
vacancy_rate: 7.0
race_white: 548547
race_black: 29772
race_asian: 46905
hispanic: 184634
bachelors_plus: 214658
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-08
Congressional district AZ-08.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 815902 |
| Under 18 | 174153 |
| 1864 | 249711 |
| 65+ | 392038 |
| Median household income | 85593 |
| Poverty rate | 9.06 |
| Homeownership rate | 70.46 |
| Unemployment rate | 4.02 |
| Median home value | 449500 |
| Gini index | 0.4531 |
| Vacancy rate | 7.0 |
| White | 548547 |
| Black | 29772 |
| Asian | 46905 |
| Hispanic/Latino | 184634 |
| Bachelor's or higher | 214658 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "AZ-09"
classification: congressional-district
state: "AZ"
district: "AZ-09"
demographics:
population: 915903
population_under_18: 223211
population_18_64: 271418
population_65_plus: 421274
median_household_income: 80463
poverty_rate: 10.4
homeownership_rate: 76.71
unemployment_rate: 5.55
median_home_value: 406800
gini_index: 0.4312
vacancy_rate: 9.92
race_white: 559000
race_black: 48259
race_asian: 26133
hispanic: 284789
bachelors_plus: 153770
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, az]
timestamp: "2026-07-03"
---
# AZ-09
Congressional district AZ-09.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 915903 |
| Under 18 | 223211 |
| 1864 | 271418 |
| 65+ | 421274 |
| Median household income | 80463 |
| Poverty rate | 10.4 |
| Homeownership rate | 76.71 |
| Unemployment rate | 5.55 |
| Median home value | 406800 |
| Gini index | 0.4312 |
| Vacancy rate | 9.92 |
| White | 559000 |
| Black | 48259 |
| Asian | 26133 |
| Hispanic/Latino | 284789 |
| Bachelor's or higher | 153770 |
## Source
- demographics: Census ACS 2023