Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to infile/insheet a huge csv that has a few problems...


From   [email protected] (Shannon Driver, StataCorp)
To   [email protected]
Subject   Re: st: How to infile/insheet a huge csv that has a few problems...
Date   Wed, 20 Jul 2005 10:16:29 -0500

Sergio Correia <[email protected]> wrote:

> Sorry for bothering you again but I have a tricky problem here (at
> least for me).
> 
> I'm trying to load a 500mb text file into Stata (actually, I need to
> open 20 files like that). I have already read the manual / statalist
> archive / faq, etc. and still cant get what I want.
> 
> ...

I believe there may be a way to get your data into Stata by using the -file-
command to create a new raw data file.  The idea is to read your file line by
line, grab just the values you want to read in, and write them to a new raw
data file.  You should then be able to read that file into Stata.

If you need some help with this, please send a small portion of one of your
files to technical support <[email protected]>, and I will be happy to
take a look at it.

--Shannon Driver
  [email protected]

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index