I want to write a simple code that goes through a list of variables and drops the value labels for those variables. I am finding this hard because there doesn't seem to be any way to identify the value label of a variable. And the "label drop" command requires knowing the name of the value label assigned to that variable.
I know how to identify the label of the variable, like this:
local varlabel: var label variable
But I can't figure out how to do this for value labels.
Thanks!
I know how to identify the label of the variable, like this:
local varlabel: var label variable
But I can't figure out how to do this for value labels.
Thanks!
Comment