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: "MS-01"
classification: congressional-district
state: "MS"
district: "MS-01"
demographics:
population: 753783
population_under_18: 198280
population_18_64: 244168
population_65_plus: 311335
median_household_income: 60524
poverty_rate: 16.8
homeownership_rate: 71.73
unemployment_rate: 3.75
median_home_value: 215800
gini_index: 0.4799
vacancy_rate: 11.69
race_white: 479483
race_black: 207488
race_asian: 7427
hispanic: 34388
bachelors_plus: 136393
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ms]
timestamp: "2026-07-03"
---
# MS-01
Congressional district MS-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 753783 |
| Under 18 | 198280 |
| 1864 | 244168 |
| 65+ | 311335 |
| Median household income | 60524 |
| Poverty rate | 16.8 |
| Homeownership rate | 71.73 |
| Unemployment rate | 3.75 |
| Median home value | 215800 |
| Gini index | 0.4799 |
| Vacancy rate | 11.69 |
| White | 479483 |
| Black | 207488 |
| Asian | 7427 |
| Hispanic/Latino | 34388 |
| Bachelor's or higher | 136393 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MS-02"
classification: congressional-district
state: "MS"
district: "MS-02"
demographics:
population: 694703
population_under_18: 178418
population_18_64: 210744
population_65_plus: 305541
median_household_income: 47495
poverty_rate: 23.63
homeownership_rate: 65.59
unemployment_rate: 5.7
median_home_value: 126300
gini_index: 0.4878
vacancy_rate: 18.3
race_white: 215495
race_black: 443694
race_asian: 3919
hispanic: 13582
bachelors_plus: 104813
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ms]
timestamp: "2026-07-03"
---
# MS-02
Congressional district MS-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 694703 |
| Under 18 | 178418 |
| 1864 | 210744 |
| 65+ | 305541 |
| Median household income | 47495 |
| Poverty rate | 23.63 |
| Homeownership rate | 65.59 |
| Unemployment rate | 5.7 |
| Median home value | 126300 |
| Gini index | 0.4878 |
| Vacancy rate | 18.3 |
| White | 215495 |
| Black | 443694 |
| Asian | 3919 |
| Hispanic/Latino | 13582 |
| Bachelor's or higher | 104813 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MS-03"
classification: congressional-district
state: "MS"
district: "MS-03"
demographics:
population: 734735
population_under_18: 190309
population_18_64: 233704
population_65_plus: 310722
median_household_income: 66380
poverty_rate: 15.22
homeownership_rate: 73.36
unemployment_rate: 4.16
median_home_value: 185400
gini_index: 0.4628
vacancy_rate: 13.01
race_white: 431702
race_black: 239499
race_asian: 11931
hispanic: 25831
bachelors_plus: 151675
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ms]
timestamp: "2026-07-03"
---
# MS-03
Congressional district MS-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 734735 |
| Under 18 | 190309 |
| 1864 | 233704 |
| 65+ | 310722 |
| Median household income | 66380 |
| Poverty rate | 15.22 |
| Homeownership rate | 73.36 |
| Unemployment rate | 4.16 |
| Median home value | 185400 |
| Gini index | 0.4628 |
| Vacancy rate | 13.01 |
| White | 431702 |
| Black | 239499 |
| Asian | 11931 |
| Hispanic/Latino | 25831 |
| Bachelor's or higher | 151675 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MS-04"
classification: congressional-district
state: "MS"
district: "MS-04"
demographics:
population: 759824
population_under_18: 194453
population_18_64: 242199
population_65_plus: 323172
median_household_income: 62159
poverty_rate: 16.11
homeownership_rate: 71.15
unemployment_rate: 4.97
median_home_value: 213200
gini_index: 0.4668
vacancy_rate: 10.64
race_white: 508584
race_black: 165290
race_asian: 12964
hispanic: 44728
bachelors_plus: 143038
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, ms]
timestamp: "2026-07-03"
---
# MS-04
Congressional district MS-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 759824 |
| Under 18 | 194453 |
| 1864 | 242199 |
| 65+ | 323172 |
| Median household income | 62159 |
| Poverty rate | 16.11 |
| Homeownership rate | 71.15 |
| Unemployment rate | 4.97 |
| Median home value | 213200 |
| Gini index | 0.4668 |
| Vacancy rate | 10.64 |
| White | 508584 |
| Black | 165290 |
| Asian | 12964 |
| Hispanic/Latino | 44728 |
| Bachelor's or higher | 143038 |
## Source
- demographics: Census ACS 2023