Dear all,
My dataset contains at least 5000 variables from PSID and variable names are not consistent across waves. I am using lab2varn to use variable labels as variable names to have unique names. Some of the variables have the same labels and hence lab2varn gives an error. Is there a way to find those variables with the same labels and make changes to them at once? I do not wish to do it manually, so any help would be appreciated.
Best,
My dataset contains at least 5000 variables from PSID and variable names are not consistent across waves. I am using lab2varn to use variable labels as variable names to have unique names. Some of the variables have the same labels and hence lab2varn gives an error. Is there a way to find those variables with the same labels and make changes to them at once? I do not wish to do it manually, so any help would be appreciated.
Best,

Comment