Bookmark and Share

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]

Re: st: CSV read with limits


From   Argyn Kuketayev <[email protected]>
To   [email protected]
Subject   Re: st: CSV read with limits
Date   Fri, 11 Mar 2011 11:49:38 -0500

thanks.

70K limit is probably Excel's limit. my CSVs are not from Excel

On Fri, Mar 11, 2011 at 11:46 AM, Dimitriy V. Masterov
<[email protected]> wrote:
> I believe:
>
> insheet X Y Z using file.csv, names comma
>
> where X Y Z are the variables you want. I don't know of a way to limit
> observations.
>
> Also, csv files have a limit of 70K rows, so watch out.
>
> DVM
>
> On Fri, Mar 11, 2011 at 10:58 AM, Argyn Kuketayev
> <[email protected]> wrote:
>> Hello
>>
>> I have CSV file (comma separated). I need Stata to read the 1st line
>> with variable names, then import only selected variables. Also I want
>> to limit the number of observations to read.
>>
>> I cant figure out how to do it in Stata. In SAS it would be easy with
>> DATA, var list and OBS option.
>>
>> thanks
>>
>> --
>> 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/
>>
>
> *
> *   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/
>



-- 
Argyn Kuketayev
Manager, Quantitative Analytics, Primatics Financial
Phone: 703.342.0053 | Fax: 703.342.0055
E-mail:[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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index