Commit 228ae8bf authored by Ben Anderson's avatar Ben Anderson
Browse files

added setting xtset to processing file

parent c9e6cbca
......@@ -146,6 +146,8 @@ if `create_longfile' {
* this takes a LONG time - avoid running many times!
reshape long Gcons GconsValid Econs EconsValid, i(HH_ID)
rename _j year
* set as panel
xtset HH_ID year, delta(1 year)
save "`dpath'/processed/`ifile'_consumptionfile_long.dta", replace
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment