Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Re: how can one quickly remove all variable labels?


From   "Eric A. Booth" <[email protected]>
To   [email protected]
Subject   Re: st: Re: how can one quickly remove all variable labels?
Date   Wed, 11 Sep 2013 19:11:14 -0500

<>

_strip_labels is for value labels, Lazlo was asking about stripping
all value labels.

Even so, _strip_labels takes a varlist argument, so you could skip the
loop and instead run:

_strip_labels *

- Eric

On Wed, Sep 11, 2013 at 7:05 PM, Joseph Coveney <[email protected]> wrote:
> László Sándor wroe:
>
> I thought this would be useful to have on the record, I could not
> Google up anything.
>
> --------------------------------------------------------------------------------
>
> Quickly, it seems.
>
> -help _strip_labels-
>
> Perhaps,
> foreach var of varlist _all {
>         Capture _strip_labels `var'
> }
>
> Joseph Coveney
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index