Skip to content

Map ACS local Arch facts into targets#36

Merged
MaxGhenis merged 1 commit into
mainfrom
codex/census-acs-arch-targets
May 28, 2026
Merged

Map ACS local Arch facts into targets#36
MaxGhenis merged 1 commit into
mainfrom
codex/census-acs-arch-targets

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

  • map census_acs.person_count and census_acs.household_count consumer facts into Microplex target variables
  • normalize 119th Congress ACS congressional-district GEOIDs (5001900US....) to Microplex district GEOIDs
  • translate ACS S2201 snap_receipt_status rows into snap > 0 / snap == 0 target filters
  • point district age and district SNAP household-count gap expectations at CENSUS_ACS rather than national/state PEP or USDA aggregate sources

Validation

  • uv run --python 3.13 --extra dev ruff check src/microplex_us/targets/arch.py tests/targets/test_arch_facts.py
  • uv run --python 3.13 --extra dev pytest -q tests/targets/test_arch_facts.py -k "acs_district"
  • uv run --python 3.13 --extra dev pytest -q tests/targets/test_arch_facts.py
  • uv run --python 3.13 --extra dev pytest -q tests/targets/test_arch.py -k "congressional_district or gap_queue_expected_filters"

@MaxGhenis MaxGhenis merged commit fa316a0 into main May 28, 2026
3 checks passed
@MaxGhenis MaxGhenis deleted the codex/census-acs-arch-targets branch May 28, 2026 10:53
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