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

st: Re:


From   "Sarah A. Mustillo" <smustillo@psych.duhs.duke.edu>
To   statalist@hsphsun2.harvard.edu
Subject   st: Re:
Date   Wed, 28 Sep 2005 12:34:33 -0400

Just -destring- the ID that is in character format and then merge.

.destring id, replace

Sarah

Jeff NASTERNAK wrote:

Hello,
I have a problem with merging two seperate files by their ID. My problem is that the one set of ID is in a numeric format and the other is in a character format. How do I go about merging these files?
thank you
Jeff


*
* 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/

--
Sarah A. Mustillo, Ph.D
Department of Psychiatry and Behavioral Sciences
Duke University School of Medicine
Box 3454
Durham NC 27710

919 687-4686 x231
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index