[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: simple variable list with labels

From   "Martin Weiss" <>
To   <>
Subject   st: RE: simple variable list with labels
Date   Mon, 29 Sep 2008 11:58:53 +0200

sysuse auto, clear
cap ssc inst descsave
di in red _rc
cap ssc inst outreg2
di in red _rc

descsave, saving(autodesc.dta, replace)

u autodesc
outsheet using "mydescription.csv", comma noquote replace
shellout mydescription.csv


-----Original Message-----
[] On Behalf Of Peter Schofield
Sent: Monday, September 29, 2008 11:26 AM
Subject: st: simple variable list with labels

I'd like to be able to produce a simple list of full variable names and 
labels that can be pasted into a spreadsheet.

So far i've tried using codebook and describe but these either produce 
too little or too much output.

Ideally i'm looking for something like the uselabel command i.e. 
creating a new dataset comprising names and labels.

Any ideas?

Peter Schofield
Department of General Practice and Primary Care
King's College London School of Medicine
5 Lambeth Walk, London,
SE11 6SP
Tel: 020 7848 4100
*   For searches and help try:

*   For searches and help try:

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