Hello. I have a .dta file with column names A, B, C, etc. How can I rename the columns with the string value of the first row? Gracias
-
Login or Register
- Log in with
foreach v of varlist _all { rename `v' `=`v'[1]' } drop in 1
Comment