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

[no subject]

May be you should go back to the original program which generated the
.csv files in the first place and generate the data in plain ascii
format. Then you can use a .dct files to read the file in whatever format
you want to read it. In stead of keeping the data as

you can probably keep it as
_02 02  004_
Then you can read the data by an .dct file as follows
dictionary using "my.txt"{
    _column(1) str2 x %2s
    _column(3) str3 y %3s
    _column(6) str5 z %5s
infile using "try.dct"
*   For searches and help try:

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