Skip to content

Add a Local impact page with county and district Marketplace enrollment - #41

Draft
DTrim99 wants to merge 1 commit into
aca-2027-overviewfrom
local-marketplace-impact
Draft

DTrim99 wants to merge 1 commit into
aca-2027-overviewfrom
local-marketplace-impact

Conversation

@DTrim99

@DTrim99 DTrim99 commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary

This carries over the Local impact view from @daphnehanse11's #24, rebuilt on #37's app. #24's Streamlit removal already merged in #36, so only the new page comes across. Daphne is a co-author on the commit, and her original commits stay on codex/local-impact (2617fae).

  • Local impact tab, between Calculator and Methodology. Pick a state and county to see its 2026 Marketplace plan selections, consumers with advance credits, average advance credit, and average premium after the credit.
  • District map of average paid premium, consumers with advance credits and consumers without them, by 119th Congress district.
  • Data: compact extracts of CMS's 2026 open enrollment county file (2,052 counties in the 30 HealthCare.gov states), and those counties allocated to 218 districts by population share. The Python loaders and ingest scripts that build them come with their tests.
  • States with their own marketplace stay selectable but show a note instead of figures, because CMS doesn't publish their county data.

Stacked on #37

The base is aca-2027-overview. The repo doesn't delete branches on merge, so retarget this to main by hand after #37 merges.

Before this leaves draft

Changes from #24

Checks

  • bun run build passes, including the data check.
  • I rendered the page in a simulated browser (jsdom), not yet in a real one. Travis County, Texas, shows 184,355 plan selections, 162,349 consumers with advance credits, a $562/month average credit and a $130/month average paid premium. California shows the state-based marketplace note, the district map draws, and React logs no errors.
  • The 14 carried-over Python tests pass. On Windows they need UTF-8 mode (PYTHONUTF8=1), because one fixture writes a byte-order mark with the default encoding.

🤖 Generated with Claude Code

Carries over the Local impact view from #24, built on #37's app: a tab
that shows a county's 2026 Marketplace plan selections, advance credit
consumers, average advance credit and average paid premium, a 119th
Congress district map, the compact CMS extracts and district allocation
behind them, and the Python loaders, ingest scripts and tests. #24's
Streamlit removal already merged in #36, so it isn't repeated here.

Co-authored-by: Daphne Hansell <128793799+daphnehanse11@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
aca-calc Ready Ready Preview Nov 19, 2026 4:23am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 91a21fc2 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant