Skip to content

feat: add 119th Congress and 2024 SLD TIGER boundaries - #122

Merged
cbwinslow merged 19 commits into
mainfrom
feat/117-political-tiger-boundaries
Oct 5, 2026
Merged

cbwinslow merged 19 commits into
mainfrom
feat/117-political-tiger-boundaries

Conversation

@cbwinslow

Copy link
Copy Markdown
Owner

Closes the implementation portion of #117.

Scope

Adds only the Story 10.2 political-boundary path:

  • catalog resource for 2024 TIGER political boundaries
  • publisher-directory discovery for exact cd119, sldu, and sldl ZIP members
  • reuse of the existing capacity-gated, resumable, checksum-retained TIGER acquisition path
  • loader support for congressional_district, sldu, and sldl
  • source field guards: CDSESSN=119, LSY=2024
  • reviewed valid_from=2024-01-01
  • artifact-linked geography boundaries and geography-name assertions
  • source/stage/load count reconciliation
  • TIGER runtime SQL moved into sql/query/census/tiger/
  • parallel resumable TIGER downloads
  • unit/integration coverage
  • source/legal/reuse verification documenting why pygris remains a validation reference rather than a production dependency

Explicitly not included

No tract, block group, block, VTD, PUMA, place, school-district, BEF, relationship-file, CVAP, ACS packed-fact, or division-boundary work. Those remain later stories.

Live completion note

This PR implements and tests the pipeline. The issue should remain open until the operator runs the real 2024 capacity preview/download/stage/load/reconciliation on the warehouse and records the measured counts/pygris fixture smoke check.

@coderabbitai

coderabbitai Bot commented Oct 5, 2026

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 120684f7-fc4a-40f5-aaac-7e0917acba06
📥 Commits

Reviewing files that changed from the base of the PR and between d531825 and 8195aec.

📒 Files selected for processing (14)
  • docs/research/2026-10-05-district-data-source-verification.md
  • inventory/precedence.yaml
  • sql/query/census/tiger/insert_stage.sql
  • sql/query/census/tiger/name_rows.sql
  • sql/query/census/tiger/reconciliation.sql
  • sql/query/census/tiger/stage_count.sql
  • sql/query/census/tiger/upsert_boundaries.sql
  • sql/query/census/tiger/upsert_geographies.sql
  • src/opendiscourse_research/cli.py
  • src/opendiscourse_research/ingestion/tiger_bulk.py
  • src/opendiscourse_research/ingestion/tiger_load.py
  • src/opendiscourse_research/providers/census.py
  • tests/test_census_bulk.py
  • tests/test_census_bulk_integration.py
 __________________
< I see dead code. >
 ------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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