[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: help merge
At 02:23 PM 9/8/2003 -0700, Ritesh Mistry wrote:
i have a simple problem about merging datasets.
i would like to add variables to analytic.dta from master.dta.
analytic.dta contains a subset of variables from master.dta. both datasets
have the same observations. how do i add a specific set of variables from
master.dta to analytic.dta? i don't want to merge all the data, only certain
i'd appreciate any help. thanks!
What you want is...
merge varlist1 using master, keep( varlist2 )
where varlist2 is the set of variables that you want to take from master.
varlist 1 is the set of key variables.
I hope this is helps.
Institute for Policy Studies
Johns Hopkins University
* For searches and help try: