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: "TN-01"
classification: congressional-district
state: "TN"
district: "TN-01"
demographics:
population: 797902
population_under_18: 170461
population_18_64: 240522
population_65_plus: 386919
median_household_income: 60591
poverty_rate: 15.93
homeownership_rate: 72.38
unemployment_rate: 3.75
median_home_value: 255800
gini_index: 0.451
vacancy_rate: 13.41
race_white: 707744
race_black: 16374
race_asian: 6210
hispanic: 45068
bachelors_plus: 135936
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-01
Congressional district TN-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 797902 |
| Under 18 | 170461 |
| 1864 | 240522 |
| 65+ | 386919 |
| Median household income | 60591 |
| Poverty rate | 15.93 |
| Homeownership rate | 72.38 |
| Unemployment rate | 3.75 |
| Median home value | 255800 |
| Gini index | 0.451 |
| Vacancy rate | 13.41 |
| White | 707744 |
| Black | 16374 |
| Asian | 6210 |
| Hispanic/Latino | 45068 |
| Bachelor's or higher | 135936 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-02"
classification: congressional-district
state: "TN"
district: "TN-02"
demographics:
population: 813928
population_under_18: 185255
population_18_64: 272147
population_65_plus: 356526
median_household_income: 72659
poverty_rate: 12.4
homeownership_rate: 69.88
unemployment_rate: 3.06
median_home_value: 364300
gini_index: 0.4653
vacancy_rate: 8.82
race_white: 679134
race_black: 43241
race_asian: 14595
hispanic: 50248
bachelors_plus: 201611
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-02
Congressional district TN-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 813928 |
| Under 18 | 185255 |
| 1864 | 272147 |
| 65+ | 356526 |
| Median household income | 72659 |
| Poverty rate | 12.4 |
| Homeownership rate | 69.88 |
| Unemployment rate | 3.06 |
| Median home value | 364300 |
| Gini index | 0.4653 |
| Vacancy rate | 8.82 |
| White | 679134 |
| Black | 43241 |
| Asian | 14595 |
| Hispanic/Latino | 50248 |
| Bachelor's or higher | 201611 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-03"
classification: congressional-district
state: "TN"
district: "TN-03"
demographics:
population: 809872
population_under_18: 186372
population_18_64: 260216
population_65_plus: 363284
median_household_income: 74530
poverty_rate: 13.28
homeownership_rate: 68.47
unemployment_rate: 5.04
median_home_value: 315200
gini_index: 0.4638
vacancy_rate: 8.49
race_white: 637895
race_black: 71538
race_asian: 12874
hispanic: 56363
bachelors_plus: 172134
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-03
Congressional district TN-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 809872 |
| Under 18 | 186372 |
| 1864 | 260216 |
| 65+ | 363284 |
| Median household income | 74530 |
| Poverty rate | 13.28 |
| Homeownership rate | 68.47 |
| Unemployment rate | 5.04 |
| Median home value | 315200 |
| Gini index | 0.4638 |
| Vacancy rate | 8.49 |
| White | 637895 |
| Black | 71538 |
| Asian | 12874 |
| Hispanic/Latino | 56363 |
| Bachelor's or higher | 172134 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-04"
classification: congressional-district
state: "TN"
district: "TN-04"
demographics:
population: 826508
population_under_18: 214583
population_18_64: 274962
population_65_plus: 336963
median_household_income: 73896
poverty_rate: 12.4
homeownership_rate: 69.49
unemployment_rate: 5.13
median_home_value: 346200
gini_index: 0.4476
vacancy_rate: 9.34
race_white: 629036
race_black: 71645
race_asian: 19123
hispanic: 77875
bachelors_plus: 146417
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-04
Congressional district TN-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 826508 |
| Under 18 | 214583 |
| 1864 | 274962 |
| 65+ | 336963 |
| Median household income | 73896 |
| Poverty rate | 12.4 |
| Homeownership rate | 69.49 |
| Unemployment rate | 5.13 |
| Median home value | 346200 |
| Gini index | 0.4476 |
| Vacancy rate | 9.34 |
| White | 629036 |
| Black | 71645 |
| Asian | 19123 |
| Hispanic/Latino | 77875 |
| Bachelor's or higher | 146417 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-05"
classification: congressional-district
state: "TN"
district: "TN-05"
demographics:
population: 835216
population_under_18: 215957
population_18_64: 284943
population_65_plus: 334316
median_household_income: 96192
poverty_rate: 8.46
homeownership_rate: 69.03
unemployment_rate: 3.06
median_home_value: 489200
gini_index: 0.4753
vacancy_rate: 7.15
race_white: 577816
race_black: 101052
race_asian: 35214
hispanic: 100387
bachelors_plus: 280710
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-05
Congressional district TN-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 835216 |
| Under 18 | 215957 |
| 1864 | 284943 |
| 65+ | 334316 |
| Median household income | 96192 |
| Poverty rate | 8.46 |
| Homeownership rate | 69.03 |
| Unemployment rate | 3.06 |
| Median home value | 489200 |
| Gini index | 0.4753 |
| Vacancy rate | 7.15 |
| White | 577816 |
| Black | 101052 |
| Asian | 35214 |
| Hispanic/Latino | 100387 |
| Bachelor's or higher | 280710 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-06"
classification: congressional-district
state: "TN"
district: "TN-06"
demographics:
population: 803181
population_under_18: 188229
population_18_64: 269271
population_65_plus: 345681
median_household_income: 72083
poverty_rate: 12.67
homeownership_rate: 67.93
unemployment_rate: 3.44
median_home_value: 355500
gini_index: 0.4497
vacancy_rate: 8.86
race_white: 638556
race_black: 66403
race_asian: 9294
hispanic: 62255
bachelors_plus: 177942
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-06
Congressional district TN-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 803181 |
| Under 18 | 188229 |
| 1864 | 269271 |
| 65+ | 345681 |
| Median household income | 72083 |
| Poverty rate | 12.67 |
| Homeownership rate | 67.93 |
| Unemployment rate | 3.44 |
| Median home value | 355500 |
| Gini index | 0.4497 |
| Vacancy rate | 8.86 |
| White | 638556 |
| Black | 66403 |
| Asian | 9294 |
| Hispanic/Latino | 62255 |
| Bachelor's or higher | 177942 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-07"
classification: congressional-district
state: "TN"
district: "TN-07"
demographics:
population: 816216
population_under_18: 192732
population_18_64: 315953
population_65_plus: 307531
median_household_income: 79222
poverty_rate: 10.96
homeownership_rate: 61.19
unemployment_rate: 3.51
median_home_value: 363400
gini_index: 0.4727
vacancy_rate: 8.96
race_white: 585398
race_black: 121734
race_asian: 15563
hispanic: 67277
bachelors_plus: 203500
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-07
Congressional district TN-07.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 816216 |
| Under 18 | 192732 |
| 1864 | 315953 |
| 65+ | 307531 |
| Median household income | 79222 |
| Poverty rate | 10.96 |
| Homeownership rate | 61.19 |
| Unemployment rate | 3.51 |
| Median home value | 363400 |
| Gini index | 0.4727 |
| Vacancy rate | 8.96 |
| White | 585398 |
| Black | 121734 |
| Asian | 15563 |
| Hispanic/Latino | 67277 |
| Bachelor's or higher | 203500 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-08"
classification: congressional-district
state: "TN"
district: "TN-08"
demographics:
population: 774995
population_under_18: 188347
population_18_64: 231053
population_65_plus: 355595
median_household_income: 70081
poverty_rate: 13.23
homeownership_rate: 74.68
unemployment_rate: 4.07
median_home_value: 262600
gini_index: 0.5023
vacancy_rate: 9.16
race_white: 561580
race_black: 132273
race_asian: 18865
hispanic: 30293
bachelors_plus: 170832
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-08
Congressional district TN-08.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 774995 |
| Under 18 | 188347 |
| 1864 | 231053 |
| 65+ | 355595 |
| Median household income | 70081 |
| Poverty rate | 13.23 |
| Homeownership rate | 74.68 |
| Unemployment rate | 4.07 |
| Median home value | 262600 |
| Gini index | 0.5023 |
| Vacancy rate | 9.16 |
| White | 561580 |
| Black | 132273 |
| Asian | 18865 |
| Hispanic/Latino | 30293 |
| Bachelor's or higher | 170832 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "TN-09"
classification: congressional-district
state: "TN"
district: "TN-09"
demographics:
population: 749932
population_under_18: 209077
population_18_64: 268932
population_65_plus: 271923
median_household_income: 55603
poverty_rate: 22.74
homeownership_rate: 47.13
unemployment_rate: 7.41
median_home_value: 225300
gini_index: 0.4815
vacancy_rate: 13.16
race_white: 183865
race_black: 459701
race_asian: 14216
hispanic: 77073
bachelors_plus: 130672
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, tn]
timestamp: "2026-07-03"
---
# TN-09
Congressional district TN-09.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 749932 |
| Under 18 | 209077 |
| 1864 | 268932 |
| 65+ | 271923 |
| Median household income | 55603 |
| Poverty rate | 22.74 |
| Homeownership rate | 47.13 |
| Unemployment rate | 7.41 |
| Median home value | 225300 |
| Gini index | 0.4815 |
| Vacancy rate | 13.16 |
| White | 183865 |
| Black | 459701 |
| Asian | 14216 |
| Hispanic/Latino | 77073 |
| Bachelor's or higher | 130672 |
## Source
- demographics: Census ACS 2023