Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: how to insheet flat file with quote literals losslessly
From
James Sams <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: how to insheet flat file with quote literals losslessly
Date
Sun, 25 Mar 2012 22:41:46 -0500
I have a nearly 20 gigabyte dataset shipped as a set of tab-separated files.
Several of the files have text fields where the fields contain a single and/or
double quote literal (e.g. '24" ruler'). However I reprocess these fields
(doubling the quotes "" or escaping the quotes \"), Stata either corrupts the
input or reads the datum with the quote literal as blank. Is there a way to
format the data so that it is read losslessly by stata?
Stata 12 MP on Linux and OS X
--
James Sams
[email protected]
*
* 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/