Commit Graph

3 Commits

Author SHA1 Message Date
6cb7c0334c Add ZCTA-level enrichment table build script
Mirrors create_data_center_census_tract_table.py but at ZIP Code
Tabulation Area geography (2020 boundary vintage, since ZCTAs are only
redrawn each decennial census). Builds data_center_zcta_2024 (607 ZCTAs
hosting >=1 facility, joined to ACS 2024 5-year demographics) and adds
master_data_centers.zcta_geoid, parallel to the existing tract geoid
column. Used to verify the income/education premium for DC host
communities holds at ZIP-code resolution, not just census-tract
resolution, for the dc-siting-politics paper.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-20 20:59:19 -07:00
6db5e0fff8 Fix path references in scripts after reorganization
Update 8 scripts to use Path(__file__).parent.parent as PROJECT_ROOT
so they resolve data/, output/, and internet_cables/ relative to the
project root rather than the caller's working directory.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 21:57:47 -07:00
ee5856661a Reorganize project into scripts/, docs/, data/, output/ directories
Move all Python scripts to scripts/, documentation to docs/, raw input
data to data/, and generated HTML/CSV outputs to output/. Update path
references in 8 scripts to use Path(__file__).parent.parent as project
root so they work correctly from the new location. Update README links
and quick-start commands accordingly. Notebooks remain at root.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-27 21:57:47 -07:00