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: "OR-01"
classification: congressional-district
state: "OR"
district: "OR-01"
demographics:
population: 716626
population_under_18: 143796
population_18_64: 273262
population_65_plus: 299568
median_household_income: 97201
poverty_rate: 10.55
homeownership_rate: 57.18
unemployment_rate: 4.57
median_home_value: 603600
gini_index: 0.4517
vacancy_rate: 10.04
race_white: 473000
race_black: 16472
race_asian: 79887
hispanic: 116583
bachelors_plus: 260845
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, or]
timestamp: "2026-07-03"
---
# OR-01
Congressional district OR-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 716626 |
| Under 18 | 143796 |
| 1864 | 273262 |
| 65+ | 299568 |
| Median household income | 97201 |
| Poverty rate | 10.55 |
| Homeownership rate | 57.18 |
| Unemployment rate | 4.57 |
| Median home value | 603600 |
| Gini index | 0.4517 |
| Vacancy rate | 10.04 |
| White | 473000 |
| Black | 16472 |
| Asian | 79887 |
| Hispanic/Latino | 116583 |
| Bachelor's or higher | 260845 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "OR-02"
classification: congressional-district
state: "OR"
district: "OR-02"
demographics:
population: 704768
population_under_18: 161805
population_18_64: 206912
population_65_plus: 336051
median_household_income: 68267
poverty_rate: 12.93
homeownership_rate: 69.12
unemployment_rate: 4.95
median_home_value: 385600
gini_index: 0.4526
vacancy_rate: 9.75
race_white: 550225
race_black: 3893
race_asian: 7205
hispanic: 114037
bachelors_plus: 135910
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, or]
timestamp: "2026-07-03"
---
# OR-02
Congressional district OR-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 704768 |
| Under 18 | 161805 |
| 1864 | 206912 |
| 65+ | 336051 |
| Median household income | 68267 |
| Poverty rate | 12.93 |
| Homeownership rate | 69.12 |
| Unemployment rate | 4.95 |
| Median home value | 385600 |
| Gini index | 0.4526 |
| Vacancy rate | 9.75 |
| White | 550225 |
| Black | 3893 |
| Asian | 7205 |
| Hispanic/Latino | 114037 |
| Bachelor's or higher | 135910 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "OR-03"
classification: congressional-district
state: "OR"
district: "OR-03"
demographics:
population: 700007
population_under_18: 150720
population_18_64: 265561
population_65_plus: 283726
median_household_income: 94110
poverty_rate: 11.91
homeownership_rate: 59.36
unemployment_rate: 5.32
median_home_value: 552500
gini_index: 0.4454
vacancy_rate: 5.41
race_white: 452842
race_black: 37951
race_asian: 58180
hispanic: 112034
bachelors_plus: 215279
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, or]
timestamp: "2026-07-03"
---
# OR-03
Congressional district OR-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 700007 |
| Under 18 | 150720 |
| 1864 | 265561 |
| 65+ | 283726 |
| Median household income | 94110 |
| Poverty rate | 11.91 |
| Homeownership rate | 59.36 |
| Unemployment rate | 5.32 |
| Median home value | 552500 |
| Gini index | 0.4454 |
| Vacancy rate | 5.41 |
| White | 452842 |
| Black | 37951 |
| Asian | 58180 |
| Hispanic/Latino | 112034 |
| Bachelor's or higher | 215279 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "OR-04"
classification: congressional-district
state: "OR"
district: "OR-04"
demographics:
population: 712690
population_under_18: 144128
population_18_64: 231184
population_65_plus: 337378
median_household_income: 69445
poverty_rate: 15.74
homeownership_rate: 64.15
unemployment_rate: 5.55
median_home_value: 438000
gini_index: 0.4653
vacancy_rate: 8.78
race_white: 578082
race_black: 7156
race_asian: 21083
hispanic: 71983
bachelors_plus: 168521
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, or]
timestamp: "2026-07-03"
---
# OR-04
Congressional district OR-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 712690 |
| Under 18 | 144128 |
| 1864 | 231184 |
| 65+ | 337378 |
| Median household income | 69445 |
| Poverty rate | 15.74 |
| Homeownership rate | 64.15 |
| Unemployment rate | 5.55 |
| Median home value | 438000 |
| Gini index | 0.4653 |
| Vacancy rate | 8.78 |
| White | 578082 |
| Black | 7156 |
| Asian | 21083 |
| Hispanic/Latino | 71983 |
| Bachelor's or higher | 168521 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "OR-05"
classification: congressional-district
state: "OR"
district: "OR-05"
demographics:
population: 717312
population_under_18: 158336
population_18_64: 230054
population_65_plus: 328922
median_household_income: 96200
poverty_rate: 9.28
homeownership_rate: 68.14
unemployment_rate: 4.23
median_home_value: 587400
gini_index: 0.4569
vacancy_rate: 9.01
race_white: 582816
race_black: 8116
race_asian: 21725
hispanic: 76663
bachelors_plus: 210008
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, or]
timestamp: "2026-07-03"
---
# OR-05
Congressional district OR-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 717312 |
| Under 18 | 158336 |
| 1864 | 230054 |
| 65+ | 328922 |
| Median household income | 96200 |
| Poverty rate | 9.28 |
| Homeownership rate | 68.14 |
| Unemployment rate | 4.23 |
| Median home value | 587400 |
| Gini index | 0.4569 |
| Vacancy rate | 9.01 |
| White | 582816 |
| Black | 8116 |
| Asian | 21725 |
| Hispanic/Latino | 76663 |
| Bachelor's or higher | 210008 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "OR-06"
classification: congressional-district
state: "OR"
district: "OR-06"
demographics:
population: 720968
population_under_18: 168911
population_18_64: 255207
population_65_plus: 296850
median_household_income: 90927
poverty_rate: 10.42
homeownership_rate: 60.86
unemployment_rate: 4.56
median_home_value: 497100
gini_index: 0.4243
vacancy_rate: 4.61
race_white: 502563
race_black: 9188
race_asian: 23148
hispanic: 171440
bachelors_plus: 176882
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, or]
timestamp: "2026-07-03"
---
# OR-06
Congressional district OR-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 720968 |
| Under 18 | 168911 |
| 1864 | 255207 |
| 65+ | 296850 |
| Median household income | 90927 |
| Poverty rate | 10.42 |
| Homeownership rate | 60.86 |
| Unemployment rate | 4.56 |
| Median home value | 497100 |
| Gini index | 0.4243 |
| Vacancy rate | 4.61 |
| White | 502563 |
| Black | 9188 |
| Asian | 23148 |
| Hispanic/Latino | 171440 |
| Bachelor's or higher | 176882 |
## Source
- demographics: Census ACS 2023