Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to merge 2 datasets using 2 unique variables


From   Robin Newberry <[email protected]>
To   [email protected]
Subject   Re: st: How to merge 2 datasets using 2 unique variables
Date   Tue, 26 Apr 2005 10:06:09 -0400

datasets on both variables, then list both in the -merge- command:

 . merge ssn adate using ...

Thanks, but I just noticed an issue. In one dataset the Social Security Number is in the "standard" format (###-##-####), while in the other it's just a set of straight digits (no hyphens). I guess I need to remove the hyphens in the one set - how do I do that?
--
Robin
--------------------------------------------------------------
W. Robert Newberry, IV CIH, CHMM
Chief Environmental Health and Safety Officer
Clemson University

[email protected] [email protected]
http://ehs.clemson.edu/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index