Skip to content

Replication code for "Beyond the Border: Weather, Measurement Error, Heterogeneity, and Political Boundaries."

License

Notifications You must be signed in to change notification settings

AIDELabAZ/weather_borders

 
 

Repository files navigation

Beyond the Border: Weather, Measurement Error, Heterogeneity, and Political Boundaries

This README describes the directory structure & should enable users to replicate all cleaning code used ...

This README was last updated on 30 August 2023.

Index

Project Team

Contributors:

  • Jeffrey D. Michler [jdmichler@arizona.edu] (Conceptualizaiton, Supervision, Visualization, Writing)
  • Anna Josephson [aljosephson@arizona.edu] (Conceptualizaiton, Supervision, Visualization, Writing)
  • Talip Kilic (Conceptualization, Resources, Writing)
  • Siobhan Murray (Conceptualization, Writing)
  • Brian McGreal (Data curation)
  • Alison Conley (Data curation)
  • Emil Kee-Tui (Data curation)

Data cleaning

The code in this repository is primarily for replicating the cleaning of the household LSMS-ISA data. This requires downloading this repo and the household data from the World Bank webiste. The projectdo.do should then replicate the data cleaning process.

Pre-requisites

Stata req's

  • The data processing and analysis requires a number of user-written Stata programs:
    1. weather_command
    2. blindschemes
    3. estout
    4. customsave
    5. winsor2
    6. mdesc
    7. distinct

Folder structure

The OSF project page provides more details on the data cleaning.

For the household cleaning code to run, the public use microdata must be downloaded from the World Bank Microdata Library. Furthermore, the data needs to be placed in the following folder structure:

weather_and_agriculture
├────household_data      
│    └──country          /* one dir for each country */
│       ├──wave          /* one dir for each wave */
│       └──logs
├──weather_data
│    └──country          /* one dir for each country */
│       ├──wave          /* one dir for each wave */
│       └──logs
├──merged_data
│    └──country          /* one dir for each country */
│       ├──wave          /* one dir for each wave */
│       └──logs
├──regression_data
│    ├──country          /* one dir for each country */
│    └──logs
└────results_data        /* overall analysis */
     ├──tables
     ├──figures
     └──logs

About

Replication code for "Beyond the Border: Weather, Measurement Error, Heterogeneity, and Political Boundaries."

Resources

License

Stars

Watchers

Forks

Languages

  • Stata 100.0%