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: "MD-01"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-01"
|
||||
demographics:
|
||||
population: 791864
|
||||
population_under_18: 181253
|
||||
population_18_64: 241624
|
||||
population_65_plus: 368987
|
||||
median_household_income: 95306
|
||||
poverty_rate: 9.4
|
||||
homeownership_rate: 76.46
|
||||
unemployment_rate: 4.1
|
||||
median_home_value: 378700
|
||||
gini_index: 0.4325
|
||||
vacancy_rate: 14.43
|
||||
race_white: 564937
|
||||
race_black: 106211
|
||||
race_asian: 24442
|
||||
hispanic: 53251
|
||||
bachelors_plus: 208307
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-01
|
||||
|
||||
Congressional district MD-01.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 791864 |
|
||||
| Under 18 | 181253 |
|
||||
| 18–64 | 241624 |
|
||||
| 65+ | 368987 |
|
||||
| Median household income | 95306 |
|
||||
| Poverty rate | 9.4 |
|
||||
| Homeownership rate | 76.46 |
|
||||
| Unemployment rate | 4.1 |
|
||||
| Median home value | 378700 |
|
||||
| Gini index | 0.4325 |
|
||||
| Vacancy rate | 14.43 |
|
||||
| White | 564937 |
|
||||
| Black | 106211 |
|
||||
| Asian | 24442 |
|
||||
| Hispanic/Latino | 53251 |
|
||||
| Bachelor's or higher | 208307 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-02"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-02"
|
||||
demographics:
|
||||
population: 783097
|
||||
population_under_18: 194901
|
||||
population_18_64: 247723
|
||||
population_65_plus: 340473
|
||||
median_household_income: 94537
|
||||
poverty_rate: 8.43
|
||||
homeownership_rate: 67.65
|
||||
unemployment_rate: 4.1
|
||||
median_home_value: 393900
|
||||
gini_index: 0.4571
|
||||
vacancy_rate: 4.13
|
||||
race_white: 456620
|
||||
race_black: 207838
|
||||
race_asian: 43501
|
||||
hispanic: 51409
|
||||
bachelors_plus: 257620
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-02
|
||||
|
||||
Congressional district MD-02.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 783097 |
|
||||
| Under 18 | 194901 |
|
||||
| 18–64 | 247723 |
|
||||
| 65+ | 340473 |
|
||||
| Median household income | 94537 |
|
||||
| Poverty rate | 8.43 |
|
||||
| Homeownership rate | 67.65 |
|
||||
| Unemployment rate | 4.1 |
|
||||
| Median home value | 393900 |
|
||||
| Gini index | 0.4571 |
|
||||
| Vacancy rate | 4.13 |
|
||||
| White | 456620 |
|
||||
| Black | 207838 |
|
||||
| Asian | 43501 |
|
||||
| Hispanic/Latino | 51409 |
|
||||
| Bachelor's or higher | 257620 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-03"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-03"
|
||||
demographics:
|
||||
population: 782840
|
||||
population_under_18: 187732
|
||||
population_18_64: 259832
|
||||
population_65_plus: 335276
|
||||
median_household_income: 136641
|
||||
poverty_rate: 6.38
|
||||
homeownership_rate: 74.17
|
||||
unemployment_rate: 3.46
|
||||
median_home_value: 539800
|
||||
gini_index: 0.4168
|
||||
vacancy_rate: 4.64
|
||||
race_white: 440263
|
||||
race_black: 142138
|
||||
race_asian: 87038
|
||||
hispanic: 79419
|
||||
bachelors_plus: 293087
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-03
|
||||
|
||||
Congressional district MD-03.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 782840 |
|
||||
| Under 18 | 187732 |
|
||||
| 18–64 | 259832 |
|
||||
| 65+ | 335276 |
|
||||
| Median household income | 136641 |
|
||||
| Poverty rate | 6.38 |
|
||||
| Homeownership rate | 74.17 |
|
||||
| Unemployment rate | 3.46 |
|
||||
| Median home value | 539800 |
|
||||
| Gini index | 0.4168 |
|
||||
| Vacancy rate | 4.64 |
|
||||
| White | 440263 |
|
||||
| Black | 142138 |
|
||||
| Asian | 87038 |
|
||||
| Hispanic/Latino | 79419 |
|
||||
| Bachelor's or higher | 293087 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-04"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-04"
|
||||
demographics:
|
||||
population: 763420
|
||||
population_under_18: 192590
|
||||
population_18_64: 266917
|
||||
population_65_plus: 303913
|
||||
median_household_income: 87647
|
||||
poverty_rate: 11.98
|
||||
homeownership_rate: 55.99
|
||||
unemployment_rate: 5.61
|
||||
median_home_value: 414200
|
||||
gini_index: 0.436
|
||||
vacancy_rate: 5.22
|
||||
race_white: 87429
|
||||
race_black: 411415
|
||||
race_asian: 35367
|
||||
hispanic: 214826
|
||||
bachelors_plus: 181513
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-04
|
||||
|
||||
Congressional district MD-04.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 763420 |
|
||||
| Under 18 | 192590 |
|
||||
| 18–64 | 266917 |
|
||||
| 65+ | 303913 |
|
||||
| Median household income | 87647 |
|
||||
| Poverty rate | 11.98 |
|
||||
| Homeownership rate | 55.99 |
|
||||
| Unemployment rate | 5.61 |
|
||||
| Median home value | 414200 |
|
||||
| Gini index | 0.436 |
|
||||
| Vacancy rate | 5.22 |
|
||||
| White | 87429 |
|
||||
| Black | 411415 |
|
||||
| Asian | 35367 |
|
||||
| Hispanic/Latino | 214826 |
|
||||
| Bachelor's or higher | 181513 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-05"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-05"
|
||||
demographics:
|
||||
population: 805367
|
||||
population_under_18: 202262
|
||||
population_18_64: 258462
|
||||
population_65_plus: 344643
|
||||
median_household_income: 128699
|
||||
poverty_rate: 5.54
|
||||
homeownership_rate: 80.61
|
||||
unemployment_rate: 3.77
|
||||
median_home_value: 477500
|
||||
gini_index: 0.3961
|
||||
vacancy_rate: 5.75
|
||||
race_white: 341920
|
||||
race_black: 329302
|
||||
race_asian: 26054
|
||||
hispanic: 70751
|
||||
bachelors_plus: 242267
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-05
|
||||
|
||||
Congressional district MD-05.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 805367 |
|
||||
| Under 18 | 202262 |
|
||||
| 18–64 | 258462 |
|
||||
| 65+ | 344643 |
|
||||
| Median household income | 128699 |
|
||||
| Poverty rate | 5.54 |
|
||||
| Homeownership rate | 80.61 |
|
||||
| Unemployment rate | 3.77 |
|
||||
| Median home value | 477500 |
|
||||
| Gini index | 0.3961 |
|
||||
| Vacancy rate | 5.75 |
|
||||
| White | 341920 |
|
||||
| Black | 329302 |
|
||||
| Asian | 26054 |
|
||||
| Hispanic/Latino | 70751 |
|
||||
| Bachelor's or higher | 242267 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-06"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-06"
|
||||
demographics:
|
||||
population: 821685
|
||||
population_under_18: 202022
|
||||
population_18_64: 267111
|
||||
population_65_plus: 352552
|
||||
median_household_income: 105125
|
||||
poverty_rate: 8.11
|
||||
homeownership_rate: 71.2
|
||||
unemployment_rate: 3.49
|
||||
median_home_value: 433800
|
||||
gini_index: 0.4309
|
||||
vacancy_rate: 7.12
|
||||
race_white: 479026
|
||||
race_black: 107619
|
||||
race_asian: 80725
|
||||
hispanic: 123966
|
||||
bachelors_plus: 235117
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-06
|
||||
|
||||
Congressional district MD-06.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 821685 |
|
||||
| Under 18 | 202022 |
|
||||
| 18–64 | 267111 |
|
||||
| 65+ | 352552 |
|
||||
| Median household income | 105125 |
|
||||
| Poverty rate | 8.11 |
|
||||
| Homeownership rate | 71.2 |
|
||||
| Unemployment rate | 3.49 |
|
||||
| Median home value | 433800 |
|
||||
| Gini index | 0.4309 |
|
||||
| Vacancy rate | 7.12 |
|
||||
| White | 479026 |
|
||||
| Black | 107619 |
|
||||
| Asian | 80725 |
|
||||
| Hispanic/Latino | 123966 |
|
||||
| Bachelor's or higher | 235117 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-07"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-07"
|
||||
demographics:
|
||||
population: 741484
|
||||
population_under_18: 173772
|
||||
population_18_64: 281040
|
||||
population_65_plus: 286672
|
||||
median_household_income: 66738
|
||||
poverty_rate: 16.17
|
||||
homeownership_rate: 51.85
|
||||
unemployment_rate: 6.2
|
||||
median_home_value: 254400
|
||||
gini_index: 0.4693
|
||||
vacancy_rate: 9.25
|
||||
race_white: 225062
|
||||
race_black: 390025
|
||||
race_asian: 26509
|
||||
hispanic: 74087
|
||||
bachelors_plus: 177806
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-07
|
||||
|
||||
Congressional district MD-07.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 741484 |
|
||||
| Under 18 | 173772 |
|
||||
| 18–64 | 281040 |
|
||||
| 65+ | 286672 |
|
||||
| Median household income | 66738 |
|
||||
| Poverty rate | 16.17 |
|
||||
| Homeownership rate | 51.85 |
|
||||
| Unemployment rate | 6.2 |
|
||||
| Median home value | 254400 |
|
||||
| Gini index | 0.4693 |
|
||||
| Vacancy rate | 9.25 |
|
||||
| White | 225062 |
|
||||
| Black | 390025 |
|
||||
| Asian | 26509 |
|
||||
| Hispanic/Latino | 74087 |
|
||||
| Bachelor's or higher | 177806 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
@@ -0,0 +1,59 @@
|
||||
---
|
||||
type: Jurisdiction
|
||||
title: "MD-08"
|
||||
classification: congressional-district
|
||||
state: "MD"
|
||||
district: "MD-08"
|
||||
demographics:
|
||||
population: 773463
|
||||
population_under_18: 187841
|
||||
population_18_64: 238137
|
||||
population_65_plus: 347485
|
||||
median_household_income: 146362
|
||||
poverty_rate: 7.16
|
||||
homeownership_rate: 65.28
|
||||
unemployment_rate: 4.19
|
||||
median_home_value: 713400
|
||||
gini_index: 0.4802
|
||||
vacancy_rate: 5.33
|
||||
race_white: 342153
|
||||
race_black: 130574
|
||||
race_asian: 110769
|
||||
hispanic: 163239
|
||||
bachelors_plus: 354562
|
||||
sources:
|
||||
- field: demographics
|
||||
source: Census ACS 2023
|
||||
confidence: official
|
||||
tags: [jurisdiction, congressional-district, md]
|
||||
timestamp: "2026-07-03"
|
||||
---
|
||||
|
||||
# MD-08
|
||||
|
||||
Congressional district MD-08.
|
||||
|
||||
## Demographics (ACS 2023)
|
||||
|
||||
| Measure | Value |
|
||||
| --- | --- |
|
||||
| Population | 773463 |
|
||||
| Under 18 | 187841 |
|
||||
| 18–64 | 238137 |
|
||||
| 65+ | 347485 |
|
||||
| Median household income | 146362 |
|
||||
| Poverty rate | 7.16 |
|
||||
| Homeownership rate | 65.28 |
|
||||
| Unemployment rate | 4.19 |
|
||||
| Median home value | 713400 |
|
||||
| Gini index | 0.4802 |
|
||||
| Vacancy rate | 5.33 |
|
||||
| White | 342153 |
|
||||
| Black | 130574 |
|
||||
| Asian | 110769 |
|
||||
| Hispanic/Latino | 163239 |
|
||||
| Bachelor's or higher | 354562 |
|
||||
|
||||
## Source
|
||||
|
||||
- demographics: Census ACS 2023
|
||||
Reference in New Issue
Block a user