I have a dataset of thousands of variables, and I want to find the names of those without a value lable and without a varlabel. Any idea how?
-
Login or Register
- Log in with
help ds
ds , not(varlabel) local no_varlabel `r(varlist)' ds , not(vallabel) local no_vallabel `r(varlist)' local varlist : list no_varlabel & no_vallabel
findname , varlabel vallabel not local varlist `r(varlist)'
foreach var of local varlist { display "`var'" }
return list
Comment