Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: merging datasets


From   Nikolaos Pandis <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: merging datasets
Date   Mon, 19 Nov 2012 23:42:53 -0800 (PST)

Dear all,

I would appreciate any help on the following:

I have 2 datasets A (~150 observations) and B (~45 observations)
B is included in A and share some common fields including observation id (num)
It should have been one dataset but unfortunately it is not and I would like to merge them.
Dataset B has all the fields of A but some extra ones.
Q: is there a way to append the extra fields (for the eligible observations) from dataset B to dataset A using observation id as the link?

many thanks  

Nick

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index