Lee_Tobacco_Replication (with Chris Zhang)
Code replicating an article by Lee, Landrine, Torres and Gregory: https://www.ncbi.nlm.nih.gov/pubmed/27609780
Data
-
The TIMS violation data is retrieved from the FDA website.
-
The 2010-2014 ACS 5-year estimate data at the census tract level is retrieved from Social Explorer at this link.
-
The 2010-2014 ACS 5-year estimate data at the block level is also retrieved from Social Explorer at this link.
-
The 2011-2015 ACS 5-year estimate data at the census tract level is also retrieved from Social Explorer at this link.
-
The 2011-2015 ACS 5-year estimate data at the block level is also retrieved from Social Explorer at this link.
-
The zipcode to census tract mapping data is available from the Census Bureau.
Programs
- 1.tidy_fda.R cleans the FDA data and saves a csv file to the
data
folder. - 1a.tidy_fda.py does the same in Python.
- 2.tidy_acs.R cleans the ACS data and saves a csv file to the
data
folder.