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

st: RE: DTA File Format


From   "Nick Cox" <n.j.cox@durham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: DTA File Format
Date   Mon, 1 Dec 2003 14:42:40 -0000

First line zapped in previous. 

Nick 
n.j.cox@durham.ac.uk 

> -----Original Message-----
> From: Nick Cox [mailto:n.j.cox@durham.ac.uk]
> Sent: 01 December 2003 14:32
> To: statalist@hsphsun2.harvard.edu
> Cc: j2@eighty20.co.za
> Subject: RE: DTA File Format
> 
> 
> http://www.stata.com/help.cgi?dta is accessible 
> to non-Stata users. I don't know if it answers
> your specific question. 
> 
> Nick 
> n.j.cox@durham.ac.uk 
> 
> Amnon Melzer
> > 
> > I have just purchased a data set from a data provider, in 
> > DTA format. I am
> > not a STATA user, so I need some help interpreting it.
> > 
> > I wish to load the data up into a MySQL database. 
> However, I do not
> > understand how to interpret the DTA file. Most of the rows 
> > are fine, I
> > understand them fully. But when a respondent has a multiple 
> > answer to a
> > particular question, a * is put there and there are some 
> > extra characters at
> > the end of the line. See below for an example. Look at the 
> > third row:
> > 
> > ...
> > 710001  494949
> > 032
> > 710001                                                1     
> >          27
> > 036
> > 710001  *        9*        9*        952            
> > 111314120000001000060
> > 038^?@L@L@L
> > 710001  1                                                   
> >        222
> > 00240039
> > 710001  4  211111102     2522221   12   1 800
> > 040
> > ...
> > 
> > All I need from you is how to interpret these additional 
> characters.
> > (^?@L@L@L). I understand these interpret the *'s but I 
> > don't know how cannot
> > get further from there.
> 
*
*   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