|
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
Re: st: insheet fails with quotes in data
Fredrich asked:
I work with tab-delimited text files with string variables that
sometimes contain quote marks...
How can the data be imported into Stata with all observations and
preferably also with quotes, either single or in pairs?
If you have a copy of Stat/Transfer, change the "ASCII File Read
Options/String Quote Character" to a blank. Stat/Transfer will then
read your file correctly. If you are using the command processor,
for instance on a Unix platform, issue the option:
set quote-char-rd none
which will work as well.
Best,
Steve
----------------------------------------------------------------
Steven Dubnoff [email protected]
Circle Systems We make your data instantly usable.
Download Stat/Transfer from http://www.stattransfer.com
1001 Fourth Avenue, #3200 (206) 682-3783
Seattle, WA 98154 Fax (206) 328-4788
*
* 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/