export delimited has an interesting process when variables have the same name, but different cases. The data, for example, has variables named both Age and age, but also other variables that are all lower case (no variables with the exact same characters, but different case), and others that have some upper case (no variables with the exact same characters, but different case). When I export this data to .csv all variable names are converted to lower case - there is no preserve(case) option in export delimited like there is with import delimited. Then, it appears that when Stata runs into two variables that are now age and age it converts one to a generic variable name, such as v40, before saving to the csv. For various reasons, I'd much prefer to keep age and Age named as is rather than renaming all the variables that run into this issue. Has anybody else run into this and figured out a workaround?
-
Login or Register
- Log in with
Comment