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: "MN-01"
classification: congressional-district
state: "MN"
district: "MN-01"
demographics:
population: 718116
population_under_18: 179873
population_18_64: 230974
population_65_plus: 307269
median_household_income: 78573
poverty_rate: 9.36
homeownership_rate: 74.25
unemployment_rate: 2.97
median_home_value: 273500
gini_index: 0.4437
vacancy_rate: 7.13
race_white: 594877
race_black: 25785
race_asian: 21757
hispanic: 56593
bachelors_plus: 161273
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-01
Congressional district MN-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 718116 |
| Under 18 | 179873 |
| 1864 | 230974 |
| 65+ | 307269 |
| Median household income | 78573 |
| Poverty rate | 9.36 |
| Homeownership rate | 74.25 |
| Unemployment rate | 2.97 |
| Median home value | 273500 |
| Gini index | 0.4437 |
| Vacancy rate | 7.13 |
| White | 594877 |
| Black | 25785 |
| Asian | 21757 |
| Hispanic/Latino | 56593 |
| Bachelor's or higher | 161273 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-02"
classification: congressional-district
state: "MN"
district: "MN-02"
demographics:
population: 746020
population_under_18: 196079
population_18_64: 245634
population_65_plus: 304307
median_household_income: 108162
poverty_rate: 6.59
homeownership_rate: 77.27
unemployment_rate: 3.39
median_home_value: 397500
gini_index: 0.412
vacancy_rate: 3.81
race_white: 548179
race_black: 64135
race_asian: 47050
hispanic: 63948
bachelors_plus: 219870
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-02
Congressional district MN-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 746020 |
| Under 18 | 196079 |
| 1864 | 245634 |
| 65+ | 304307 |
| Median household income | 108162 |
| Poverty rate | 6.59 |
| Homeownership rate | 77.27 |
| Unemployment rate | 3.39 |
| Median home value | 397500 |
| Gini index | 0.412 |
| Vacancy rate | 3.81 |
| White | 548179 |
| Black | 64135 |
| Asian | 47050 |
| Hispanic/Latino | 63948 |
| Bachelor's or higher | 219870 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-03"
classification: congressional-district
state: "MN"
district: "MN-03"
demographics:
population: 710658
population_under_18: 174530
population_18_64: 222188
population_65_plus: 313940
median_household_income: 106557
poverty_rate: 5.94
homeownership_rate: 71.34
unemployment_rate: 3.51
median_home_value: 423800
gini_index: 0.4678
vacancy_rate: 3.72
race_white: 496834
race_black: 76704
race_asian: 63331
hispanic: 34877
bachelors_plus: 267265
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-03
Congressional district MN-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 710658 |
| Under 18 | 174530 |
| 1864 | 222188 |
| 65+ | 313940 |
| Median household income | 106557 |
| Poverty rate | 5.94 |
| Homeownership rate | 71.34 |
| Unemployment rate | 3.51 |
| Median home value | 423800 |
| Gini index | 0.4678 |
| Vacancy rate | 3.72 |
| White | 496834 |
| Black | 76704 |
| Asian | 63331 |
| Hispanic/Latino | 34877 |
| Bachelor's or higher | 267265 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-04"
classification: congressional-district
state: "MN"
district: "MN-04"
demographics:
population: 708464
population_under_18: 179315
population_18_64: 247640
population_65_plus: 281509
median_household_income: 84731
poverty_rate: 11.17
homeownership_rate: 62.92
unemployment_rate: 4.17
median_home_value: 357700
gini_index: 0.4599
vacancy_rate: 5.51
race_white: 445860
race_black: 79705
race_asian: 94645
hispanic: 56348
bachelors_plus: 224717
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-04
Congressional district MN-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 708464 |
| Under 18 | 179315 |
| 1864 | 247640 |
| 65+ | 281509 |
| Median household income | 84731 |
| Poverty rate | 11.17 |
| Homeownership rate | 62.92 |
| Unemployment rate | 4.17 |
| Median home value | 357700 |
| Gini index | 0.4599 |
| Vacancy rate | 5.51 |
| White | 445860 |
| Black | 79705 |
| Asian | 94645 |
| Hispanic/Latino | 56348 |
| Bachelor's or higher | 224717 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-05"
classification: congressional-district
state: "MN"
district: "MN-05"
demographics:
population: 705006
population_under_18: 161848
population_18_64: 296277
population_65_plus: 246881
median_household_income: 80274
poverty_rate: 13.27
homeownership_rate: 52.98
unemployment_rate: 4.94
median_home_value: 352800
gini_index: 0.4775
vacancy_rate: 8.36
race_white: 419641
race_black: 127105
race_asian: 35969
hispanic: 82912
bachelors_plus: 250317
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-05
Congressional district MN-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 705006 |
| Under 18 | 161848 |
| 1864 | 296277 |
| 65+ | 246881 |
| Median household income | 80274 |
| Poverty rate | 13.27 |
| Homeownership rate | 52.98 |
| Unemployment rate | 4.94 |
| Median home value | 352800 |
| Gini index | 0.4775 |
| Vacancy rate | 8.36 |
| White | 419641 |
| Black | 127105 |
| Asian | 35969 |
| Hispanic/Latino | 82912 |
| Bachelor's or higher | 250317 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-06"
classification: congressional-district
state: "MN"
district: "MN-06"
demographics:
population: 755084
population_under_18: 205224
population_18_64: 244090
population_65_plus: 305770
median_household_income: 105084
poverty_rate: 6.6
homeownership_rate: 81.15
unemployment_rate: 3.36
median_home_value: 383200
gini_index: 0.4073
vacancy_rate: 3.71
race_white: 625265
race_black: 44059
race_asian: 27516
hispanic: 31978
bachelors_plus: 189224
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-06
Congressional district MN-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 755084 |
| Under 18 | 205224 |
| 1864 | 244090 |
| 65+ | 305770 |
| Median household income | 105084 |
| Poverty rate | 6.6 |
| Homeownership rate | 81.15 |
| Unemployment rate | 3.36 |
| Median home value | 383200 |
| Gini index | 0.4073 |
| Vacancy rate | 3.71 |
| White | 625265 |
| Black | 44059 |
| Asian | 27516 |
| Hispanic/Latino | 31978 |
| Bachelor's or higher | 189224 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-07"
classification: congressional-district
state: "MN"
district: "MN-07"
demographics:
population: 722392
population_under_18: 180494
population_18_64: 212533
population_65_plus: 329365
median_household_income: 74454
poverty_rate: 10.88
homeownership_rate: 76.16
unemployment_rate: 3.03
median_home_value: 255000
gini_index: 0.4374
vacancy_rate: 14.3
race_white: 632073
race_black: 12239
race_asian: 5496
hispanic: 45780
bachelors_plus: 129300
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-07
Congressional district MN-07.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 722392 |
| Under 18 | 180494 |
| 1864 | 212533 |
| 65+ | 329365 |
| Median household income | 74454 |
| Poverty rate | 10.88 |
| Homeownership rate | 76.16 |
| Unemployment rate | 3.03 |
| Median home value | 255000 |
| Gini index | 0.4374 |
| Vacancy rate | 14.3 |
| White | 632073 |
| Black | 12239 |
| Asian | 5496 |
| Hispanic/Latino | 45780 |
| Bachelor's or higher | 129300 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "MN-08"
classification: congressional-district
state: "MN"
district: "MN-08"
demographics:
population: 727411
population_under_18: 165945
population_18_64: 214106
population_65_plus: 347360
median_household_income: 74635
poverty_rate: 11.26
homeownership_rate: 78.06
unemployment_rate: 4.4
median_home_value: 292400
gini_index: 0.4475
vacancy_rate: 20.89
race_white: 636256
race_black: 8791
race_asian: 8400
hispanic: 15999
bachelors_plus: 152226
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, mn]
timestamp: "2026-07-03"
---
# MN-08
Congressional district MN-08.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 727411 |
| Under 18 | 165945 |
| 1864 | 214106 |
| 65+ | 347360 |
| Median household income | 74635 |
| Poverty rate | 11.26 |
| Homeownership rate | 78.06 |
| Unemployment rate | 4.4 |
| Median home value | 292400 |
| Gini index | 0.4475 |
| Vacancy rate | 20.89 |
| White | 636256 |
| Black | 8791 |
| Asian | 8400 |
| Hispanic/Latino | 15999 |
| Bachelor's or higher | 152226 |
## Source
- demographics: Census ACS 2023