| |
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re: Re: Re: Re: import variable value label from TXT file
Hi, Joe,
I once encounter a similar problem, here is some tips, hope can help you
Since you can open your data in another computer, try use saveold command,
to save the file in stata 7.0 format.
this will keep your labels.
after that, use your current stata to read this old format file.
good luck
----- Original Message -----
From: "Zou Hong" <[email protected]>
To: <[email protected]>
Sent: Monday, June 04, 2007 10:18 PM
Subject: st: Re: Re: Re: import variable value label from TXT file
Dear Chuntao,
I did try it. But obviously it does not help to move variable value
labels.
My purporse is not how to read the data file, but is to reconstrcut the
Stata data set with those valuable "value labels".
Thanks
Joe
----- Original Message -----
From: "Li Chuntao" <[email protected]>
To: <[email protected]>
Sent: Wednesday, June 06, 2007 4:02 AM
Subject: st: Re: Re: import variable value label from TXT file
Hi Joe,
Why not save your excel file as a tab delimited txt file and use
insheet command ?
Chuntao
----- Original Message -----
From: "Zou Hong" <[email protected]>
To: <[email protected]>
Sent: Monday, June 04, 2007 9:43 PM
Subject: st: Re: import variable value label from TXT file
Dear All,
I have one Stata data file (probably corrupted or due to system
imcompatibility), which cannot be opened in one computer though it can
be opened on another computer).
In trying to read the data file on my computer, I copied data from EXCEL
into Stata editor and then saved it in Stata format. I also have the
variable value label file (in TXT format) generated by the "de" command
on the other computer.
I wonder whether there is a simple way to import variable value labels
from the TXT file into the current new Stata data file.
Any suggestion is appreciated
Thanks
Joe
*
* 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/
*
* 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/
*
* 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/
*
* 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/