* This is the master build folder for the Foodstamps project.
* Update 11/09/2021 by Kate Moulton

I am putting the following components all in one place. They can be run
altogether in the master script: master_foodstamps.bash.

1) basic processing
    - /master_folder/basicprocessing
	-- produces the most updated version of dtacr_20.dta 
	-- issue with multiple versions of dtacr_20.dta 
	   being called in different disclosures
	-- thus, in data build code, it may be necessary to cap drop some
	    variables, namely: ess_6_1 ess_5_1, ess_8_1, 
	    ess_10_1, nei_1_1 and nei_5_1

2) foodstamps data build
    - /master_folder/foodstamps_build/
    - using dtacr_20 and dtacr_22 from basic processing, produce: 
	dtacr_23_newsub.dta, dtacr_24_newsub.dta, dtacr_25_newsub.dta
	dtacr_23_birthmo_newsub.dta, dtacr_24_birthmo_newsub.dta,
dtacr_25_birthmo_newsub.dta
	fs_dtacr_1_1.dta - fs_dtacr_1_8.dta 
	fs_dtacr_2_exactmatch0_newsub.dta
	fs_hsacr_1_newsub_exactmatch0.dta

fs_dtacr_2_exactmatch0_newsub.dta is the event study data and 
fs_hsacr_1_newsub_exactmatch0.dta is the exposure data. These two
are the basis for all the analysis.

3) Life Expectancy construction
    - /master_folder/LE_build

*** Note: the way LE_build is constructed, it re-runs the data build for
dtacr_23-25 to incorporate the new LE measures and mobility status. For some of
the datasets, it replaces the original dataset with the same name, but others it
replaces with a new name. To avoid mistakes, I prescribe running the LE build in
a separate folder, and then moving over
fs_dtacr_2_exactmatch0_newsub_withStayers.dta and
fs_hsacr_1_newsub_exactmatch0_withStayers.dta to the datatemp folder in use.

4) master do-file for disclosure 20180408
    - /master_folder/disclosure20180408

5) master do-file for disclosure 20181010 
    - /master_folder/disclosure20181010

6) master do-file for disclosure 20191014
   - /master_folder/disclosure20191014

7) master bash-file for RESTUD Revision
   - /master_folder/RESTUD_2021

*** Similar to the life expectancy estimates, the code to incorprate new
outcomes is within the RESTUD Revision folder. We create and incorporate new
outcomes higher_pct_urb, higher_num_4yr, and higher_num_4yr_per_cap
using clean_foodstamps_RESTUD.do. The code automatically saves
the new datasets fs_dtacr_2_exactmatch0_newsub_withCollege.dta and
fs_hsacr_1_newsub_exactmatch0_withCollege.dta to the main datatemp folder.
 
