Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

Re: st: Automatically add prefaces to merged variables

From   Nick Cox <>
Subject   Re: st: Automatically add prefaces to merged variables
Date   Sat, 10 Nov 2012 16:45:39 +0000

I'd prefix (not preface) names afterwards with -rename- if I needed
to. But beware ruling out large -merge-s.


On Sat, Nov 10, 2012 at 3:31 PM, Stephen Cranney <> wrote:

> I'm merging about thirty different datasets together to form one big
> longitudinal one, and many of them have the same variables but
> different values that change over time (household income, for
> example). I could go through and rename all the relevant variables by
> hand, but is there a quick and easy way to automatically preface every
> variable from dataset X with a certain letter or number during the
> process of or after merging?
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index