Replication Package for: The Impact of Ethiopia's Road Investment Program on Economic Development and Land Use: Evidence from Satellite Data
_ethiopia_rsdp_ie_main.R
: Main script that runs all code
Code is organized into the below folders:
_functions
: User-defined functions that are used throughout00_process_ancillary_datasets
: Processes datasets that are used in subsequent scripts01_extract_data_to_datasets
: Extracts data to different datasets (e.g., nighttime lights in 1x1km grid, Kebeles and Woredas)02_clean_analysis_data
: Cleans data for analysis03_analysis_tables_figures
: Code for analysis and for generating tables and figures
Data can be found in the /data
folder
- Within
/data
, there is a folder for each dataset. Each dataset folder generally contains a/RawData
and/FinalData
folder, where/RawData
contains data downloaded from its source andFinalData
contains data processed from code. Panel Data RSDP Impacts
contains analysis datasets using different units of analysis and datasets of results (e.g., dataframe of regression coefficients that are later used to make figures). Within a dataset folder,/merged_datasets
contains the final, analysis datasets. For example,/Data/Panel Data RSDP Impacts/kebele/merged_datasets/panel_data_clean.Rds
contains cleaned Kebele-level panel data and/longdiff_data_clean_base1996_end2016.Rds
contains cleaned Kebele-level data that uses a long difference from 1996 to 2016.
The following datasets need to be manually downloaded. Click on the link for instructions that include (1) the link to access and download the data and (2) a description of which folder to put the downloaded dataset into.
- Electricity Network
- Elevation
- GlobCover: 1992 - 2015 Data
- GlobCover: 2016 - 2018 Data
- Gridded Population of the World
- Kebeles
- Nighttime Lights: VIIRS_DMSPOLS_Intercalibrated
- Precipitation
- Temperature
- World Bank Boundaries
- Clone/download this github repository
- Download the data that needs to be manually downloaded and put in the appropriate folders (see instructions above)
- In _ethiopia_rsdp_ie_main.R, project_dir should point to this github repo
- Run
_ethiopia_rsdp_ie_main.R
; this runs all scripts needed to replicate the analysis, including data cleaning and generating all tables and figures