Statalist The Stata Listserver


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

st: Change value labels to lowercase


From   Friedrich Huebler <[email protected]>
To   [email protected]
Subject   st: Change value labels to lowercase
Date   Wed, 5 Apr 2006 15:51:11 -0700 (PDT)

I want to change the value labels in my data from uppercase to
lowercase. Assume I have data like this:

variable     value
name         label
-------------------
var019
var020       VAR020
var021
var022
var023       VAR023
var024       VAR024

Variable names are all lowercase. Value labels are the same as the
variable names but are all uppercase. How can I loop through all
variables, identify those that have a value label, and change that
value lable to lowercase?

Friedrich Huebler

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index