I want to append datasets for various countries, each of which contains variables that others don't. I want to append them in a way that'll keep only the variables present in all. I'm not sure how to show this in dataex as there are several datasets. I tried my luck with the following as missing vars as coded as '.'
Code:
append using "F:\Uganda\ugla.dta", keep if country_id !=.
Please let me know if this doable.
Thanks in advance.
0 Response to Appending datasets by keeping the common variabels only
Post a Comment