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

Re: st: easier way to rename?


From   Kaleb Michaud <kaleb@arthritis-research.org>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: easier way to rename?
Date   Fri, 13 Sep 2002 17:00:47 -0500

Try renvars.ado (findit renvars)
I use it quite a bit for things like this.
Kaleb...

At 05:34 PM 9/13/2002 -0400, Radu Ban wrote:
I want to rename my variables (which now have long names since they come
from an excel sheet). I would like to know if there is a quick way to rename
a recurring word to an abbreviation.
For example, a lot of my variables contain the word 'households' and I would
like to rename it to 'hh' for easier access later. I know there's renpfix,
but this only takes care of characters at the start of the variable name.
Thank you,

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