Hi,
I have a numeric variable (ID) in a numeric long format with 10 digits only which has a value label called (ID_label).
Is there any way to generate a "new numeric long formatted variable" named (ID_new) = (ID_label)?
Meaning, I would like to generate a new variable using the values label of another existing variable.
example of my data set:
ID_nolabel | ID | ID_new
1 |1234567890 |1234567890
2 |2345675678 | 2345675678
3 |5566778899 | 5566778899
4 |45678901234 | 45678901234
5 |1234098765 | 1234098765
Any guidance would be appreciated
Thank you
I have a numeric variable (ID) in a numeric long format with 10 digits only which has a value label called (ID_label).
Is there any way to generate a "new numeric long formatted variable" named (ID_new) = (ID_label)?
Meaning, I would like to generate a new variable using the values label of another existing variable.
example of my data set:
ID_nolabel | ID | ID_new
1 |1234567890 |1234567890
2 |2345675678 | 2345675678
3 |5566778899 | 5566778899
4 |45678901234 | 45678901234
5 |1234098765 | 1234098765
Any guidance would be appreciated
Thank you
Comment