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: "SC-01"
classification: congressional-district
state: "SC"
district: "SC-01"
demographics:
population: 797468
population_under_18: 183507
population_18_64: 248406
population_65_plus: 365555
median_household_income: 95136
poverty_rate: 7.27
homeownership_rate: 76.59
unemployment_rate: 2.59
median_home_value: 466400
gini_index: 0.4549
vacancy_rate: 11.64
race_white: 557015
race_black: 126917
race_asian: 18886
hispanic: 69598
bachelors_plus: 258317
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-01
Congressional district SC-01.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 797468 |
| Under 18 | 183507 |
| 1864 | 248406 |
| 65+ | 365555 |
| Median household income | 95136 |
| Poverty rate | 7.27 |
| Homeownership rate | 76.59 |
| Unemployment rate | 2.59 |
| Median home value | 466400 |
| Gini index | 0.4549 |
| Vacancy rate | 11.64 |
| White | 557015 |
| Black | 126917 |
| Asian | 18886 |
| Hispanic/Latino | 69598 |
| Bachelor's or higher | 258317 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "SC-02"
classification: congressional-district
state: "SC"
district: "SC-02"
demographics:
population: 764414
population_under_18: 186957
population_18_64: 247477
population_65_plus: 329980
median_household_income: 77683
poverty_rate: 11.38
homeownership_rate: 74.94
unemployment_rate: 5.12
median_home_value: 273300
gini_index: 0.45
vacancy_rate: 9.8
race_white: 465999
race_black: 195987
race_asian: 19233
hispanic: 58061
bachelors_plus: 200726
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-02
Congressional district SC-02.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 764414 |
| Under 18 | 186957 |
| 1864 | 247477 |
| 65+ | 329980 |
| Median household income | 77683 |
| Poverty rate | 11.38 |
| Homeownership rate | 74.94 |
| Unemployment rate | 5.12 |
| Median home value | 273300 |
| Gini index | 0.45 |
| Vacancy rate | 9.8 |
| White | 465999 |
| Black | 195987 |
| Asian | 19233 |
| Hispanic/Latino | 58061 |
| Bachelor's or higher | 200726 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "SC-03"
classification: congressional-district
state: "SC"
district: "SC-03"
demographics:
population: 766747
population_under_18: 184454
population_18_64: 232253
population_65_plus: 350040
median_household_income: 65919
poverty_rate: 15.24
homeownership_rate: 75.28
unemployment_rate: 5.18
median_home_value: 255400
gini_index: 0.4713
vacancy_rate: 11.59
race_white: 566352
race_black: 117063
race_asian: 8700
hispanic: 53227
bachelors_plus: 147274
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-03
Congressional district SC-03.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 766747 |
| Under 18 | 184454 |
| 1864 | 232253 |
| 65+ | 350040 |
| Median household income | 65919 |
| Poverty rate | 15.24 |
| Homeownership rate | 75.28 |
| Unemployment rate | 5.18 |
| Median home value | 255400 |
| Gini index | 0.4713 |
| Vacancy rate | 11.59 |
| White | 566352 |
| Black | 117063 |
| Asian | 8700 |
| Hispanic/Latino | 53227 |
| Bachelor's or higher | 147274 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "SC-04"
classification: congressional-district
state: "SC"
district: "SC-04"
demographics:
population: 810387
population_under_18: 203356
population_18_64: 274400
population_65_plus: 332631
median_household_income: 78299
poverty_rate: 10.73
homeownership_rate: 68.44
unemployment_rate: 4.23
median_home_value: 309800
gini_index: 0.4476
vacancy_rate: 7.13
race_white: 529805
race_black: 136514
race_asian: 23101
hispanic: 99462
bachelors_plus: 205311
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-04
Congressional district SC-04.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 810387 |
| Under 18 | 203356 |
| 1864 | 274400 |
| 65+ | 332631 |
| Median household income | 78299 |
| Poverty rate | 10.73 |
| Homeownership rate | 68.44 |
| Unemployment rate | 4.23 |
| Median home value | 309800 |
| Gini index | 0.4476 |
| Vacancy rate | 7.13 |
| White | 529805 |
| Black | 136514 |
| Asian | 23101 |
| Hispanic/Latino | 99462 |
| Bachelor's or higher | 205311 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "SC-05"
classification: congressional-district
state: "SC"
district: "SC-05"
demographics:
population: 782718
population_under_18: 197034
population_18_64: 247333
population_65_plus: 338351
median_household_income: 75344
poverty_rate: 11.64
homeownership_rate: 76.93
unemployment_rate: 3.76
median_home_value: 297000
gini_index: 0.4481
vacancy_rate: 9.22
race_white: 501215
race_black: 185391
race_asian: 17943
hispanic: 50997
bachelors_plus: 167087
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-05
Congressional district SC-05.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 782718 |
| Under 18 | 197034 |
| 1864 | 247333 |
| 65+ | 338351 |
| Median household income | 75344 |
| Poverty rate | 11.64 |
| Homeownership rate | 76.93 |
| Unemployment rate | 3.76 |
| Median home value | 297000 |
| Gini index | 0.4481 |
| Vacancy rate | 9.22 |
| White | 501215 |
| Black | 185391 |
| Asian | 17943 |
| Hispanic/Latino | 50997 |
| Bachelor's or higher | 167087 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "SC-06"
classification: congressional-district
state: "SC"
district: "SC-06"
demographics:
population: 762934
population_under_18: 178453
population_18_64: 274633
population_65_plus: 309848
median_household_income: 58458
poverty_rate: 17.96
homeownership_rate: 59.01
unemployment_rate: 5.17
median_home_value: 249500
gini_index: 0.4804
vacancy_rate: 13.1
race_white: 329240
race_black: 336692
race_asian: 13590
hispanic: 55776
bachelors_plus: 152130
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-06
Congressional district SC-06.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 762934 |
| Under 18 | 178453 |
| 1864 | 274633 |
| 65+ | 309848 |
| Median household income | 58458 |
| Poverty rate | 17.96 |
| Homeownership rate | 59.01 |
| Unemployment rate | 5.17 |
| Median home value | 249500 |
| Gini index | 0.4804 |
| Vacancy rate | 13.1 |
| White | 329240 |
| Black | 336692 |
| Asian | 13590 |
| Hispanic/Latino | 55776 |
| Bachelor's or higher | 152130 |
## Source
- demographics: Census ACS 2023
@@ -0,0 +1,59 @@
---
type: Jurisdiction
title: "SC-07"
classification: congressional-district
state: "SC"
district: "SC-07"
demographics:
population: 794163
population_under_18: 171572
population_18_64: 214666
population_65_plus: 407925
median_household_income: 61149
poverty_rate: 19.04
homeownership_rate: 75.19
unemployment_rate: 5.68
median_home_value: 275900
gini_index: 0.4699
vacancy_rate: 20.86
race_white: 512383
race_black: 196382
race_asian: 8254
hispanic: 47096
bachelors_plus: 144444
sources:
- field: demographics
source: Census ACS 2023
confidence: official
tags: [jurisdiction, congressional-district, sc]
timestamp: "2026-07-03"
---
# SC-07
Congressional district SC-07.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 794163 |
| Under 18 | 171572 |
| 1864 | 214666 |
| 65+ | 407925 |
| Median household income | 61149 |
| Poverty rate | 19.04 |
| Homeownership rate | 75.19 |
| Unemployment rate | 5.68 |
| Median home value | 275900 |
| Gini index | 0.4699 |
| Vacancy rate | 20.86 |
| White | 512383 |
| Black | 196382 |
| Asian | 8254 |
| Hispanic/Latino | 47096 |
| Bachelor's or higher | 144444 |
## Source
- demographics: Census ACS 2023