Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Obtaining a list of variables, their descriptions and their labels

From   Eric Booth <>
To   "<>" <>
Subject   Re: st: Obtaining a list of variables, their descriptions and their labels
Date   Tue, 12 Jul 2011 15:06:53 +0000


   -findit- returns many potential user programs including,  labellist, labelsof, uselab, lablist, and more.  
My favorite for this task (and one that gives an output similar to what you describe) is -fre- (from SSC).  However, -fre- only gives you value labels have corresponding values, by default.  If you want to see all the values (even those that are defined, but there is no corresponding value), you'd type:  -fre varname, includelabeled-  
Also, note that -codebook varname- is another way to show value labels for values that exist.

- Eric
Eric A. Booth
Public Policy Research Institute
Texas A&M University
Office: +979.845.6754

On Jul 12, 2011, at 9:41 AM, Stacey Gelsheimer wrote:

> I recently found the AMAZING label list function which made what I am
> doing at this stage MUCH easier, but I was disappointed that the
> variable descriptions were missing. It seems it would be easy to fill
> the rest of the line following the variable name with some information
> that would make this a perfectly comprehensible list of everything
> about the variables you need to know. I'm assuming something like this
> exists, I just have yet to find it.. Does anyone know the best way?
> For example, from label list, I see "v024 1 north, 2 south, 3 east, 4
> west" but I would LOVE to see "v024 REGION 1 north 2 south 3 east 4
> west." With region it's obviously very clear what the variable
> references, but when the labels are "1 yes 2 no" it's not as clear.
> Thanks for your time and your help!
> *
> *   For searches and help try:
> *
> *
> *

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index