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]

st: CSV read with limits


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

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/


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