Statalist


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

st: New package -lablist- on SSC


From   "Newson, Roger B" <r.newson@imperial.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: New package -lablist- on SSC
Date   Mon, 16 Jul 2007 12:23:02 +0100

Thanks to Kit Baum, a new package -lablist- is available for download
from SSC. In Stata, use the -ssc- command to do this.

The -lablist- package is described as below on my website. It is a front
for -label list-, and is designed save the interactive user the trouble
of typing

describe

to find the name of a value label set for a variable. It can also save
the do-file programmer the trouble of typing two lines such as

local Xlab: value label X
lab list `Xlab'

instead of typing the single line

lablist X

which does the same thing.

Best wishes

Roger


Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk 
Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/

Opinions expressed are those of the author, not of the institution.


------------------------------------------------------------------------
-------
package lablist from http://www.imperial.ac.uk/nhli/r.newson/stata9
------------------------------------------------------------------------
-------

TITLE
      lablist: List value labels (if present) for one or more variables

DESCRIPTION/AUTHOR(S)
      lablist produces a list of the values and value labels used by the
      value label sets belonging to each of a list of variables, if such
      value label sets are defined. If no varlist is specified, then
      lablist uses the full list of variables in the dataset currently
in
      the memory. lablist is therefore similar to label list, but it
      requires the user to specify only the variable name(s) in the
      varlist, instead of specifying the value label set(s) belonging to
      the variable(s). It is often used with tabulate, or with the SSC
      package xcontract.
      
      Author: Roger Newson
      Distribution-Date: 10july2007
      Stata-Version: 9

INSTALLATION FILES                                  (click here to
install)
      lablist.ado
      lablist.hlp
------------------------------------------------------------------------
-------
(click here to return to the previous screen)

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