Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

st: database manipulation


From   Michael Eisenberg <meisenberg713@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: database manipulation
Date   Thu, 7 Oct 2010 15:40:02 -0500

Colleagues,

I have what I hope are a few simple questions regarding a fragmented
database I'm trying to manipulate in stata.

1. Is there a way to convert the following date format (1/1/1975) into
a date form that stata will recognize?

2.  Is it possible to separate a single string field separated by
commas into 2 separate fields (i.e. Dallas, TX into Dallas in one
field and TX in another)?  What about if a space was between the two
fields (i.e. Dallas TX into two fields - one with Dallas and the other
with TX)?

Thank you in advance.

Mike
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index