Commit Graph

4 Commits

Author SHA1 Message Date
2c50c969bf Add operator x dominant workforce industry crosstab script and CSVs
Cross-tabs normalized data-center operator (owner) against the leading
ACS 2024 workforce industry of each enrichment geography (ZCTA and census
tract). Emits raw-count and row-percentage CSVs for both geographies.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-28 20:57:58 -07:00
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