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 on April 23, and its replacement, statalist.org is already up and running.


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

st: CSV file with variable types


From   Argyn Kuketayev <akuketayev@mail.primaticsfinancial.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: CSV file with variable types
Date   Wed, 4 May 2011 18:31:16 -0400

Hello

I have a pipe-delimited text file. A few variables in the file have
length of 600 characters. Unfortunately, if I use -insheet- it sets
the variable type to str150, I suppose because first few values were
short. -infile- command seems to require tab or comma separated files.

I need to read this file into Stata. Any ideas?

cheers
-- 
Argyn Kuketayev
*
*   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