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

st: RE: changing variable names

From   "Steichen, Thomas J." <>
To   <>
Subject   st: RE: changing variable names
Date   Wed, 11 Jan 2006 11:03:28 -0500

Lia Orfei writes:
> I have a very trivial problem:
> I need to attach the variable labels taken from one dataset 
> to another 
> one, and the problem is that the two datasets have the same variable 
> names but in one the names are in lower case and upper case 
> in the other.
> Does anyone know a quick way of changing the case of the 
> variable names 
> by any chance?
> I dont seem to be able to find the way

Get package tolower from

      'TOLOWER': module to rename variables with lower case names

      tolower varlist makes all variable names in the varlist lower

CONFIDENTIALITY NOTE: This e-mail message, including any
attachment(s), contains information that may be confidential,
protected by the attorney-client or other legal privileges, and/or
proprietary non-public information. If you are not an intended
recipient of this message or an authorized assistant to an intended
recipient, please notify the sender by replying to this message and
then delete it from your system. Use, dissemination, distribution,
or reproduction of this message and/or any of its attachments (if
any) by unintended recipients is not authorized and may be

*   For searches and help try:

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