I have created a temp dta in order to do an append but unfortunately stata didn't recognize a command just after the append and before I saved the file with the official name. Is it possible to recuperate this temp dataset?
I have created it as below. It did not recognize the -mdesc- command once I didn't have the specific package in stata.
I have created it as below. It did not recognize the -mdesc- command once I didn't have the specific package in stata.
Code:
clear tempfile temp save `temp', emptyok foreach k in AC AL AM AP CE DF ES GO MA MS MT PA PB PE PI PR RN RO RR SC SE TO RS RJ MG BA SP { foreach x in 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 { use ${DO}/DO`k'`x'.dta, clear append using `temp' save `"`temp'"', replace } } use `temp', clear mdesc compress save ${DO_T}/DOBIT_BR_96a13_T.dta, replace clear
Comment