Replication data and code for "Beyond Stoves and Outdoor Monitors: Indoor PM2.5 Exposure and Inequality in a Fast Growing Megacity"
收藏资源简介:
This repository contains the public replication package for the paper Beyond Stoves and Outdoor Monitors: Indoor PM2.5 Exposure and Inequality in a Fast Growing Megacity by Sun, Sorin, Suryadarma, Rahut, and Resosudarmo. The project combines hourly indoor PM2.5 measurements from in-home monitors, outdoor PM2.5 measurements from a distributed ambient sensor network, and household survey data to study three main questions: (i) indoor PM2.5 exposure levels in the study sample, (ii) the extent of outdoor-to-indoor infiltration, and (iii) how indoor sources and household resources shape exposure, including heterogeneity by income. The repository includes code, anonymized data, and output files sufficient to reproduce the main results of the paper. The public workflow starts from anonymized inputs in data/raw_data/, which are then cleaned and merged into analysis-ready datasets and used to generate the figures and tables in the manuscript and supplement. The script code/cleaning/00_prepare_raw_data.R is included for documentation and provenance. It shows how the public-facing raw inputs were constructed from the original private project archive, including the removal of direct identifiers, restriction to the paper-specific sample, and jittering of household coordinates to protect confidentiality. Because this script depends on private source files that are not part of the repository, most users should treat data/raw_data/ as the starting point for replication. The repository is organized into code/, data/, and output/ directories. code/ contains the cleaning and analysis scripts, data/ contains the anonymized inputs and intermediate analysis datasets, and output/ contains the figures and tables generated by the code. The main replication script is code/run_code.R. A README file included in the repository provides additional details on file organization, replication steps, and software dependencies.



