Files
republic-os/data/jurisdictions/us/states/me/counties/kennebec/index.md
T
Fabio 1beeaab2db Graph: national county↔district↔legislator authority layer
The first edges in the repo. Every US county now links to the districts it
sits in, weighted by area overlap, and every legislator links to the district
they represent — county → district → representative, traversable.

Data (PostGIS, no Atlas dependency — computed directly from geometry):
- data/county_district_edges.jsonl — 16,328 weighted edges. area_weight =
  ST_Area(ST_Intersection(county, district))/ST_Area(county) over ST_MakeValid
  Census TIGER 2024 geometries, overlaps <0.5% dropped. Uses area-intersection,
  NOT centroid-in-polygon, so urban districts that carve through counties
  (e.g. GA CD-5 / Atlanta across Clayton+DeKalb+Fulton) are captured, not
  silently dropped. Per-county weights sum to ~1.0 per district type.

build.py:
- ~6,896 new district nodes: 435 CD (ACS demographics where available; sparse
  for the 8 states missing from acs_cd) + 4,927 state-house + 1,897 state-senate
  (geometry-only). GEOID/number-keyed, stable.
- county index.md gains a `districts:` block (frontmatter) + a ## Districts
  section (body links, so link-integrity checks them).
- legislators + US House members gain `represents:` pointing at their district
  node; edge stored once on the person, inverse left to the view.
- schemas/jurisdiction: classification enum + chamber/districts fields.

Honest gaps (logged, not hidden): ID + NH have no state-house geometry, so
their house districts get nodes (represents resolves) but no county edges;
CD nodes for acs_cd-missing states are demographically sparse.

Deterministic (byte-identical rebuild); validate.py passes 26,617 records,
link-integrity clean (every district/represents link resolves).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-04 22:28:08 -04:00

5.7 KiB
Raw Blame History

type, title, classification, fips, state, demographics, districts, sources, confidence, tags, timestamp
type title classification fips state demographics districts sources confidence tags timestamp
Jurisdiction Kennebec County, ME county 23011 ME
population population_under_18 population_18_64 population_65_plus median_household_income poverty_rate homeownership_rate unemployment_rate median_home_value gini_index vacancy_rate race_white race_black race_asian race_native hispanic bachelors_plus
126808 23739 76263 26806 69077 11.63 73.66 3.93 238200 0.4316 14.5 117182 1083 1129 277 2861 40350
to rel area_weight
us/states/me/districts/02 in-district 0.563
to rel area_weight
us/states/me/districts/01 in-district 0.437
to rel area_weight
us/states/me/districts/senate/15 in-district 0.3255
to rel area_weight
us/states/me/districts/senate/14 in-district 0.2864
to rel area_weight
us/states/me/districts/senate/16 in-district 0.1268
to rel area_weight
us/states/me/districts/senate/3 in-district 0.0889
to rel area_weight
us/states/me/districts/senate/17 in-district 0.0747
to rel area_weight
us/states/me/districts/senate/5 in-district 0.0603
to rel area_weight
us/states/me/districts/senate/13 in-district 0.0373
to rel area_weight
us/states/me/districts/house/58 in-district 0.2001
to rel area_weight
us/states/me/districts/house/62 in-district 0.097
to rel area_weight
us/states/me/districts/house/61 in-district 0.0951
to rel area_weight
us/states/me/districts/house/63 in-district 0.0921
to rel area_weight
us/states/me/districts/house/56 in-district 0.0825
to rel area_weight
us/states/me/districts/house/57 in-district 0.0723
to rel area_weight
us/states/me/districts/house/55 in-district 0.0585
to rel area_weight
us/states/me/districts/house/53 in-district 0.0583
to rel area_weight
us/states/me/districts/house/68 in-district 0.0472
to rel area_weight
us/states/me/districts/house/60 in-district 0.0397
to rel area_weight
us/states/me/districts/house/66 in-district 0.0328
to rel area_weight
us/states/me/districts/house/67 in-district 0.0307
to rel area_weight
us/states/me/districts/house/54 in-district 0.0295
to rel area_weight
us/states/me/districts/house/91 in-district 0.027
to rel area_weight
us/states/me/districts/house/59 in-district 0.0212
to rel area_weight
us/states/me/districts/house/65 in-district 0.0088
to rel area_weight
us/states/me/districts/house/64 in-district 0.0071
field source
demographics Census ACS 2023
field source
districts PostGIS area-intersection over Census TIGER 2024 boundaries
official
jurisdiction
county
me
2026-07-03

Kennebec County, ME

County jurisdiction — 2 officeholders mapped.

Demographics (ACS 2023)

Measure Value
Population 126808
Under 18 23739
1864 76263
65+ 26806
Median household income 69077
Poverty rate 11.63
Homeownership rate 73.66
Unemployment rate 3.93
Median home value 238200
Gini index 0.4316
Vacancy rate 14.5
White 117182
Black 1083
Asian 1129
Native 277
Hispanic/Latino 2861
Bachelor's or higher 40350

Districts

Source

  • demographics: Census ACS 2023
  • districts: PostGIS area-intersection over Census TIGER 2024 boundaries