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

st: DTA File Format


From   "Amnon Melzer" <amnon@eighty20.co.za>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: DTA File Format
Date   Mon, 1 Dec 2003 16:16:17 +0200

Hi

I'm hoping someone on this list can help me.

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.

Any help would be appreciated, on- or off-line.

Amnon Melzer (reach me at j2@eighty20.co.za)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.545 / Virus Database: 339 - Release Date: 03/11/27

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