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

st: infile - multiple lines


From   "Boylan, Richard" <rboylan@cba.ua.edu>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: infile - multiple lines
Date   Sun, 9 Feb 2003 11:44:55 -0600

Hello,

I am trying to enter the area resource file (arf) in stata.

The data is in fixed format, but each observations spans
multiple lines.  Also, the observations seem to split different
across lines. So, the first observation may start in row 1 column 1, while
the second observation may start in row 8 column 6.


The sas code that comes with it looks
like this:

 @00001    f00001	$  01.	/*Blank 			      */
 @00002    f00002	   05.	/*Header - Mod FIPS St & Cty Code     */
....
@31660    f0098573    02.	/*Crop Season Span		      */
@31662    f00547	$  01.	/*************			      */
;

Any suggestions of how to read this data using STATA?

Thanks.

Richard

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index