RespectCampaignMap is a static campaign map and data-preparation repository created for Texas AFT's Respect Campaign.
It combines prebundled JavaScript map layers, a browser-facing index.html, and a few Python scripts that were used to assemble or enrich district-level campaign data.
index.html: static web entrypointDistricts*.js,PLAN*.js, and related assets: precomputed map layers and payloadsmain.py: enrichment script for generating district data outputsconvert_to_geojson.py: shapefile-to-GeoJSON conversion helpergen_union_locals_shapefile.py: helper for boundary/local overlay work
Some preparation scripts depend on external campaign datasets that are not committed to this repository. Those paths are now configured through environment variables instead of hardcoded machine-specific locations.
Relevant variables include:
RESPECT_SCHOOL_DISTRICTS_DIRRESPECT_PEIMS_ACTUAL_FUNDING_BREAKDOWNRESPECT_ENROLLMENT_REPORTS_DIRRESPECT_WAGE_CAMPAIGNS_CSVRESPECT_JOIN_LINKS_CSVRESPECT_REPORT_LINKS_CSVRESPECT_HOUSE_DISTRICTS_CSVRESPECT_SENATE_DISTRICTS_CSVRESPECT_CHARTER_LOSS_CSVRESPECT_SOF_REPORTS_DIRRESPECT_PLANH_SHAPEFILERESPECT_DISTRICTS_FINAL_GEOJSON
If those variables are unset, the scripts fall back to relative paths that match the original sibling-repo layout used during development.
Because the published experience is static, a simple local web server is enough for review:
python3 -m http.serverThen open http://127.0.0.1:8000/.
The source code and original documentation in this repository are released under the MIT License. See LICENSE.
Campaign branding, logos, trademarks, and third-party/public datasets are excluded from that code license. See NOTICE.md.