clear #delimit ; set mem 500m; *global path ~; global path C:; use $path\data\china\china1988\income\rincome.dta; sort ucode; saveold $path\data\china\china1988\income\rincome.dta, replace; clear; use $path\data\china\china1988\income\ruralh.dta; sort ucode; merge ucode using $path\data\china\china1988\income\rincome.dta; drop _merge; label var ry "Disposable rural household income"; label var ry1 "Income from wages pensions and other compensations received by individual members of the household ."; label var ry2 "Household income from township, village, collective and other types of enterprise"; label var ry3 "Cash income from farming and industrial and subsidiary activities"; label var ry4 "Gross value of self-consumption of farm products"; label var ry5 "Income from property"; label var ry6 "Rental value of housing"; label var ry7 "Net transfer from/to collective and state entities"; label var ry8 "Miscellaneous income (including private transfer)"; label var ryf "Household income from farm production (both marketed and self-consumed)"; label var rynf "Household income from nonfarm production activities"; label var ryp "Disposable average individual income"; drop rya; saveold $path\data\china\china1988\income\rhincome.dta, replace;