Skip to content

Commit

Permalink
Merge pull request #7 from AIDELabAZ/R&R
Browse files Browse the repository at this point in the history
R&r
  • Loading branch information
jdavidm authored Jun 28, 2022
2 parents ac68f44 + e23b023 commit a24f498
Show file tree
Hide file tree
Showing 7 changed files with 362 additions and 1,486 deletions.
64 changes: 13 additions & 51 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ As described in more detail below, the `.do`-file scripts variously go through e
## Data

The publicly-available data for each survey round is coupled with a basic information document, interview manual, and questionnaire for that round, which can be accessed through:
- Burkina Faso: http://bit.ly/burkinafaso-phonesurvey
- Ethiopia: http://bit.ly/ethiopia-phonesurvey
- Malawi: http://bit.ly/malawi-phonesurvey
- Nigeria: http://bit.ly/nigeria-phonesurvey
- Uganda: http://bit.ly/uganda-phonesurvey

The approach to the phone survey questionnaire design and sampling is comparable across countries. It is informed by the template questionnaire and the phone survey sampling guidelines that have been publicly made available by the World Bank. These can be accessed through:
- Template Questionnaire: http://bit.ly/templateqx
Expand All @@ -39,11 +39,13 @@ The approach to the phone survey questionnaire design and sampling is comparable
### Pre-requisites

The data processing and analysis requires a number of user-written Stata programs:
* 1. `grc1leg2`
* 1. `grc1leg2` (v1.6 or earlier | v2.12 or later)
* 2. `palettes`
* 3. `catplot`
* 3. `colrspace`
* 4. `blindschemes`
* 5. `estout`
* 6. `carryforward`
* 7. `xfill`

The `projectdo.do` file will help you install these.

Expand All @@ -63,7 +65,7 @@ covid_food_security
│ └──master
└────analysis /* overall analysis */
├──pnl_cleaning
└──evolving_impacts
└──food_security
```

### Step 2
Expand All @@ -78,55 +80,15 @@ Open the projectdo.do file and update the global filepath with your username in
}
```

### Step 3

Set up the file structure on your local machine as outlined below:

```stata
C:/Users/USERNAME/evolving_impacts
├────output
| └──stata_graphs
└────data
├──analysis
├──ethiopia
│ ├──refined
│ └──raw
│ ├──wave_01
│ ├──wave_02
│ ├──wave_03
│ ├──wave_04
│ └──wave_05
├──malawi
│ ├──refined
│ └──raw
│ ├──wave_01
│ ├──wave_02
│ ├──wave_03
│ └──wave_04
├──nigeria
│ ├──refined
│ └──raw
│ ├──wave_01
│ ├──wave_02
│ ├──wave_03
│ ├──wave_04
│ └──wave_05
└──uganda
├──refined
└──raw
├──wave_01
├──wave_02
└──wave_03
```

### Step 4
### Step 3

Download microdata Stata files from the following links. You will need to create an account with the World Bank if you do not already have one and will be asked to provide a reason for downloading the data. Once data are downloaded, save the data files to the corresponding folders created in Step 3.
- Ethiopia Waves 1-5: http://bit.ly/ethiopia-phonesurvey
- Malawi Waves 1-4: http://bit.ly/malawi-phonesurvey
- Nigeria Waves 1-5: http://bit.ly/nigeria-phonesurvey
- Uganda Waves 1-3: http://bit.ly/uganda-phonesurvey

### Step 5
- Burkina Faso Waves 1-11: http://bit.ly/burkinafaso-phonesurvey
- Ethiopia Waves 1-12: http://bit.ly/ethiopia-phonesurvey
- Malawi Waves 1-12: http://bit.ly/malawi-phonesurvey
- Nigeria Waves 1-12: http://bit.ly/nigeria-phonesurvey
### Step 4

Run the `projectdo.do` file. Output graphs will be saved to the `output` folder.
Loading

0 comments on commit a24f498

Please sign in to comment.