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: Append the Contents of Fixed Width Text File


From   Rijo John <[email protected]>
To   stata <[email protected]>
Subject   st: Append the Contents of Fixed Width Text File
Date   Sat, 17 Aug 2013 18:52:22 +0530

Dear Statalist

I have several large fixed with data files, one for each state. These
are data files where each field has a fixed column location and width,
rather than having the start and end of the field marked by a
delimiter character, as in delimited ASCII files. Usually we write a
dictionary program to extract only the columns we want from any given
fixed width file. I need to append these together to one large file
before I use dictionary on that large file.  The appended file should
also have a variable indicating which dataset the particular
observations originally belonged.

Thank your for your help,

Rijo John.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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