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]
RE: st: exporting data with labels attached
From
Maarten buis <[email protected]>
To
stata list <[email protected]>
Subject
RE: st: exporting data with labels attached
Date
Mon, 22 Nov 2010 19:49:26 +0000 (GMT)
--- Ian Breunig wrote:
> I can't seem to figure out how to export my data set to a comma
> deliminated file with the Labels for the variables defined also (not
> just the varname).
You could first turn your variables into string variables using -decode-
and than export the string variables instead of the numeric variables.
Hope this helps,
Maarten
--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany
http://www.maartenbuis.nl
--------------------------
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/