Files
republic-os/data/jurisdictions/us/states/ca/districts/46.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

60 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
type: Jurisdiction
title: "CA-46"
classification: congressional-district
state: "CA"
district: "CA-46"
demographics:
population: 763396
population_under_18: 190366
population_18_64: 291695
population_65_plus: 281335
median_household_income: 90685
poverty_rate: 13.01
homeownership_rate: 41.13
unemployment_rate: 4.35
median_home_value: 806700
gini_index: 0.4117
vacancy_rate: 4.01
race_white: 163890
race_black: 14557
race_asian: 123470
hispanic: 498898
bachelors_plus: 118810
sources:
- field: demographics
source: "Census ACS 2023"
confidence: official
tags: [jurisdiction, congressional-district, ca]
timestamp: "2026-07-03"
---
# CA-46
Congressional district CA-46.
## Demographics (ACS 2023)
| Measure | Value |
| --- | --- |
| Population | 763396 |
| Under 18 | 190366 |
| 1864 | 291695 |
| 65+ | 281335 |
| Median household income | 90685 |
| Poverty rate | 13.01 |
| Homeownership rate | 41.13 |
| Unemployment rate | 4.35 |
| Median home value | 806700 |
| Gini index | 0.4117 |
| Vacancy rate | 4.01 |
| White | 163890 |
| Black | 14557 |
| Asian | 123470 |
| Hispanic/Latino | 498898 |
| Bachelor's or higher | 118810 |
## Source
- demographics: Census ACS 2023