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

st: a potetnially useful feature


From   "Alexander Nervedi" <alexnerdy@hotmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: a potetnially useful feature
Date   Wed, 23 Nov 2005 20:12:31 +0000

Hi !

I need to input data from 30 odd dbf files where the structure is

Case ID, String.

The string is 80 charecters long and consitis of about 50 odd variables that have been palced in fixed width format. My solution currently is to convert each of these files into *.DAT and then infixing using a dictionary.

Can this also be built into the odbc command? So one could say something like

odbc load, table(AlexDemog) dns(Alex) dictionary(alex.dct)

that explicitly allows you to specify the structure of the table.

Thought I'd throw that out there for Stata Developers. This way i wouldn't have to first stat transfer a bunch of files and then read each in via a dictionary.


-Al

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

*
* 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