Shining a Light on Resilience: Overcoming Hurricane Odile’s Impact on Electricity and Local Economic Activity - Replication Package

Published: 11 July 2026| Version 1 | DOI: 10.17632/9ps2vtrhh3.1
Contributors:
Clara Pasman,

Description

Replication package for the paper "Shining a Light on Resilience: Overcoming Hurricane Odile’s Impact on Electricity and Local Economic Activity - Replication Package". The archive contains the code and data inputs required to reproduce the empirical figures and tables in the manuscript. The package includes Python scripts, Stata do-files, compact analysis datasets, precomputed Stata intermediates, and documentation. The main reproduction workflow runs from the package root using the included PowerShell script, which creates the paper’s analytical figures, LaTeX table snippets, and supporting CSV diagnostics under the generated/ folder. Stata code is included to regenerate the event-study coefficient logs and intermediate Stata outputs from the supplied event-study dataset. Main contents: -code/: Python scripts and Stata do-files. -data/: source and compact intermediate datasets used by the scripts. -generated/: empty output folders populated when the workflow is run. -README.md: reviewer reproduction guide. -OUTPUT_CROSSWALK.md: mapping from manuscript outputs to scripts and inputs. -requirements.txt: Python package requirements. The data cover Hurricane Odile’s impact and recovery in Baja California Sur, Mexico, using nighttime lights, treated H3 hexagons, locality indicators, tourism arrivals, cleaning/sensitivity diagnostics, and synthetic difference-in-differences summary inputs. Final manuscript figures and tables are not stored as static outputs; they are regenerated by the replication scripts.

Files

Steps to reproduce

1. Download and unzip the replication package. 2. Open README.md in the root folder. 3. Follow the “Main Reproduction Command” section to create the Python environment and run the workflow. 4. The workflow regenerates the manuscript figures, table snippets, and supporting diagnostics under generated/. 5. To regenerate the Stata event-study intermediates, follow the optional Stata instructions in README.md, then rerun the Python workflow. Full details, software requirements, script order, and output locations are documented in README.md.

Categories

Economics, Environmental Economics, Disaster Recovery, Remote Sensing Database, Natural Disaster, Latin American Economy, Infrastructure Development, Disaster Response

Licence