Skip to content

maswiebe/measles_mexico

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This repository contains the code and data from my replication of "The Long Term Benefits of Vaccination Campaigns: Evidence from Measles", Atwood and Pearlman (2023).

There are three sources of data. First, I use Mexican census data to measure adult economic outcomes. To access this data, apply for an account from IPUMS, then run the following query:

  • country: Mexico
  • years: 1970, 1990, 1995, 2000, 2010, 2015
  • variables:
    • household: geo1_mx (state), urban
    • person: age, sex, marst, nativity, bplmx, yrschool, lit, empstat, inctot, incearn

Save the xml file in 'data/' as 'ipumsi_00025.xml'. Note that the IPUMS extract includes an .R file with functions to read the data: read_ipums_ddi(), which reads an .xml file, and read_ipums_micro(), which reads the micro data. You first need to install the R library ipumsr.

Second, I use CPI data from INEGI to adjust for inflation. Download the CSV file here (years 1969-2023).

Third, I hand-collect disease data from PDFs of the annual epidemiology bulletins. For this replication, I collected data on measles, syphilis, tetanus, and pertussis.

1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978

The latter two datasets are included in 'data/'.

To rerun the analyses, execute the R script run.r. Note that you need to set the path in run.r on line 10 to define the location of the folder that contains this script.

About

Replicating Atwood and Pearlman (2023)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages