Data Work on STEG "Migration in the Face of Climate Change: Assessing the Potential of Ultra-Poor Graduation Programs" project
# Egypt Climate and Migration
This repository shows the data work for a climate and migration research project for the STEG (Structural Transformation and Economic Growth) initiative, focusing on "Migration in the Face of Climate Change: Assessing the Potential of Ultra-Poor Graduation Programs" in Upper Egypt. The work encompasses data acquisition, processing, and aggregation of climate variables at both governorate and household levels to enable a rigorous analysis of climate vulnerability and its relationship to migration decisions. See WorkDocumentation.pdf for a more detailed background on the project.
## Project Overview
The project analyses climate vulnerability and stress in the Assiut and Suhag governorates of Upper Egypt by combining:
- **Satellite climate data** (1960-2024): Temperature, heat indices, precipitation, drought indicators
- **Household survey data**: Primary survey data from households in Assiut and Suhag
- **Population data**: Spatial population distribution (LandScan)
The analysis measures climate exposure at both governorate and household levels, identifying climate shocks, trends, and vulnerability patterns relevant to migration decisions.
## Repository Structure
### Code Directory
The code is organized into a **sequential processing pipeline** with numbered folders:
```
Code/
├── 1_Raster Data/ # Download and process satellite/climate rasters
├── 2_Governorate Data/ # Extract climate data at governorate level
├── 3_Household Data/ # Process household surveys and extract climate exposure
└── 4_EDA/ # Exploratory data analysis, visualization, and reporting
```
#### Script Numbering Convention
Within each folder, scripts use numbered prefixes indicating their processing stage:
- **0_**: Preliminary/exploratory analyses (e.g., `0_HH_GPSimputation.R`)
- **1_**: Data download and initial processing (e.g., `1_Download_ERA5_temperature.R`)
- **2_**: Data extraction (e.g., `2_Extraction_ERA5_Tem …