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:
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "UT-01"
|
||||
classification: congressional-district
|
||||
state: "UT"
|
||||
district: "UT-01"
|
||||
demographics:
|
||||
population: 871848
|
||||
population_under_18: 253477
|
||||
population_18_64: 330694
|
||||
population_65_plus: 287677
|
||||
median_household_income: 92358
|
||||
poverty_rate: 8.31
|
||||
homeownership_rate: 69.46
|
||||
unemployment_rate: 3.05
|
||||
median_home_value: 517200
|
||||
gini_index: 0.4224
|
||||
vacancy_rate: 8.03
|
||||
race_white: 733140
|
||||
race_black: 9095
|
||||
race_asian: 21151
|
||||
hispanic: 125917
|
||||
bachelors_plus: 210051
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, ut]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# UT-01
|
||||
|
||||
Congressional district UT-01.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 871848 |
|
||||
| Under 18 | 253477 |
|
||||
| 18–64 | 330694 |
|
||||
| 65+ | 287677 |
|
||||
| Median household income | 92358 |
|
||||
| Poverty rate | 8.31 |
|
||||
| Homeownership rate | 69.46 |
|
||||
| Unemployment rate | 3.05 |
|
||||
| Median home value | 517200 |
|
||||
| Gini index | 0.4224 |
|
||||
| Vacancy rate | 8.03 |
|
||||
| White | 733140 |
|
||||
| Black | 9095 |
|
||||
| Asian | 21151 |
|
||||
| Hispanic/Latino | 125917 |
|
||||
| Bachelor's or higher | 210051 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "UT-02"
|
||||
classification: congressional-district
|
||||
state: "UT"
|
||||
district: "UT-02"
|
||||
demographics:
|
||||
population: 880783
|
||||
population_under_18: 239698
|
||||
population_18_64: 323497
|
||||
population_65_plus: 317588
|
||||
median_household_income: 90523
|
||||
poverty_rate: 9.66
|
||||
homeownership_rate: 67.19
|
||||
unemployment_rate: 4.13
|
||||
median_home_value: 493700
|
||||
gini_index: 0.4131
|
||||
vacancy_rate: 10.22
|
||||
race_white: 643589
|
||||
race_black: 14001
|
||||
race_asian: 27402
|
||||
hispanic: 179253
|
||||
bachelors_plus: 200071
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, ut]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# UT-02
|
||||
|
||||
Congressional district UT-02.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 880783 |
|
||||
| Under 18 | 239698 |
|
||||
| 18–64 | 323497 |
|
||||
| 65+ | 317588 |
|
||||
| Median household income | 90523 |
|
||||
| Poverty rate | 9.66 |
|
||||
| Homeownership rate | 67.19 |
|
||||
| Unemployment rate | 4.13 |
|
||||
| Median home value | 493700 |
|
||||
| Gini index | 0.4131 |
|
||||
| Vacancy rate | 10.22 |
|
||||
| White | 643589 |
|
||||
| Black | 14001 |
|
||||
| Asian | 27402 |
|
||||
| Hispanic/Latino | 179253 |
|
||||
| Bachelor's or higher | 200071 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "UT-03"
|
||||
classification: congressional-district
|
||||
state: "UT"
|
||||
district: "UT-03"
|
||||
demographics:
|
||||
population: 830117
|
||||
population_under_18: 247374
|
||||
population_18_64: 310266
|
||||
population_65_plus: 272477
|
||||
median_household_income: 96440
|
||||
poverty_rate: 10.18
|
||||
homeownership_rate: 68.06
|
||||
unemployment_rate: 4.23
|
||||
median_home_value: 611400
|
||||
gini_index: 0.4683
|
||||
vacancy_rate: 8.25
|
||||
race_white: 656944
|
||||
race_black: 6157
|
||||
race_asian: 24049
|
||||
hispanic: 111421
|
||||
bachelors_plus: 225795
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, ut]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# UT-03
|
||||
|
||||
Congressional district UT-03.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 830117 |
|
||||
| Under 18 | 247374 |
|
||||
| 18–64 | 310266 |
|
||||
| 65+ | 272477 |
|
||||
| Median household income | 96440 |
|
||||
| Poverty rate | 10.18 |
|
||||
| Homeownership rate | 68.06 |
|
||||
| Unemployment rate | 4.23 |
|
||||
| Median home value | 611400 |
|
||||
| Gini index | 0.4683 |
|
||||
| Vacancy rate | 8.25 |
|
||||
| White | 656944 |
|
||||
| Black | 6157 |
|
||||
| Asian | 24049 |
|
||||
| Hispanic/Latino | 111421 |
|
||||
| Bachelor's or higher | 225795 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "UT-04"
|
||||
classification: congressional-district
|
||||
state: "UT"
|
||||
district: "UT-04"
|
||||
demographics:
|
||||
population: 920865
|
||||
population_under_18: 303517
|
||||
population_18_64: 343447
|
||||
population_65_plus: 273901
|
||||
median_household_income: 109469
|
||||
poverty_rate: 5.41
|
||||
homeownership_rate: 73.77
|
||||
unemployment_rate: 3.74
|
||||
median_home_value: 558900
|
||||
gini_index: 0.3754
|
||||
vacancy_rate: 3.82
|
||||
race_white: 681037
|
||||
race_black: 13966
|
||||
race_asian: 23141
|
||||
hispanic: 175821
|
||||
bachelors_plus: 206364
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, ut]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# UT-04
|
||||
|
||||
Congressional district UT-04.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 920865 |
|
||||
| Under 18 | 303517 |
|
||||
| 18–64 | 343447 |
|
||||
| 65+ | 273901 |
|
||||
| Median household income | 109469 |
|
||||
| Poverty rate | 5.41 |
|
||||
| Homeownership rate | 73.77 |
|
||||
| Unemployment rate | 3.74 |
|
||||
| Median home value | 558900 |
|
||||
| Gini index | 0.3754 |
|
||||
| Vacancy rate | 3.82 |
|
||||
| White | 681037 |
|
||||
| Black | 13966 |
|
||||
| Asian | 23141 |
|
||||
| Hispanic/Latino | 175821 |
|
||||
| Bachelor's or higher | 206364 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
Reference in New Issue
Block a user