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: "NV-01"
classification: congressional-district
state: "NV"
district: "NV-01"
demographics:
population: 792232
population_under_18: 187505
population_18_64: 271522
population_65_plus: 333205
median_household_income: 72138
poverty_rate: 14.3
homeownership_rate: 56.31
unemployment_rate: 6.61
median_home_value: 429100
gini_index: 0.4793
vacancy_rate: 10.57
race_white: 326083
race_black: 69757
race_asian: 67476
hispanic: 315664
bachelors_plus: 145505
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, nv]
timestamp: "2026-07-03"
---
# NV-01
Congressional district NV-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 792232 |
| Under 18 | 187505 |
| 1864 | 271522 |
| 65+ | 333205 |
| Median household income | 72138 |
| Poverty rate | 14.3 |
| Homeownership rate | 56.31 |
| Unemployment rate | 6.61 |
| Median home value | 429100 |
| Gini index | 0.4793 |
| Vacancy rate | 10.57 |
| White | 326083 |
| Black | 69757 |
| Asian | 67476 |
| Hispanic/Latino | 315664 |
| Bachelor's or higher | 145505 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "NV-02"
classification: congressional-district
state: "NV"
district: "NV-02"
demographics:
population: 802677
population_under_18: 180281
population_18_64: 269387
population_65_plus: 353009
median_household_income: 86806
poverty_rate: 9.8
homeownership_rate: 64.64
unemployment_rate: 5.49
median_home_value: 491000
gini_index: 0.4767
vacancy_rate: 10.1
race_white: 514716
race_black: 18817
race_asian: 38760
hispanic: 201824
bachelors_plus: 177805
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, nv]
timestamp: "2026-07-03"
---
# NV-02
Congressional district NV-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 802677 |
| Under 18 | 180281 |
| 1864 | 269387 |
| 65+ | 353009 |
| Median household income | 86806 |
| Poverty rate | 9.8 |
| Homeownership rate | 64.64 |
| Unemployment rate | 5.49 |
| Median home value | 491000 |
| Gini index | 0.4767 |
| Vacancy rate | 10.1 |
| White | 514716 |
| Black | 18817 |
| Asian | 38760 |
| Hispanic/Latino | 201824 |
| Bachelor's or higher | 177805 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "NV-03"
classification: congressional-district
state: "NV"
district: "NV-03"
demographics:
population: 839433
population_under_18: 171931
population_18_64: 292681
population_65_plus: 374821
median_household_income: 90358
poverty_rate: 8.99
homeownership_rate: 57.3
unemployment_rate: 5.32
median_home_value: 489400
gini_index: 0.4586
vacancy_rate: 7.58
race_white: 376990
race_black: 85013
race_asian: 152294
hispanic: 176984
bachelors_plus: 216201
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, nv]
timestamp: "2026-07-03"
---
# NV-03
Congressional district NV-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 839433 |
| Under 18 | 171931 |
| 1864 | 292681 |
| 65+ | 374821 |
| Median household income | 90358 |
| Poverty rate | 8.99 |
| Homeownership rate | 57.3 |
| Unemployment rate | 5.32 |
| Median home value | 489400 |
| Gini index | 0.4586 |
| Vacancy rate | 7.58 |
| White | 376990 |
| Black | 85013 |
| Asian | 152294 |
| Hispanic/Latino | 176984 |
| Bachelor's or higher | 216201 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "NV-04"
classification: congressional-district
state: "NV"
district: "NV-04"
demographics:
population: 833125
population_under_18: 220475
population_18_64: 290560
population_65_plus: 322090
median_household_income: 75889
poverty_rate: 13.33
homeownership_rate: 62.24
unemployment_rate: 7.85
median_home_value: 415700
gini_index: 0.432
vacancy_rate: 8.98
race_white: 351182
race_black: 137309
race_asian: 50285
hispanic: 304955
bachelors_plus: 121697
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, nv]
timestamp: "2026-07-03"
---
# NV-04
Congressional district NV-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 833125 |
| Under 18 | 220475 |
| 1864 | 290560 |
| 65+ | 322090 |
| Median household income | 75889 |
| Poverty rate | 13.33 |
| Homeownership rate | 62.24 |
| Unemployment rate | 7.85 |
| Median home value | 415700 |
| Gini index | 0.432 |
| Vacancy rate | 8.98 |
| White | 351182 |
| Black | 137309 |
| Asian | 50285 |
| Hispanic/Latino | 304955 |
| Bachelor's or higher | 121697 |
## Source
- demographics: Census ACS 2023