- Numeric
- String with only numeric values
- String with alphanumeric values
I guess the fastest way to convert them would be to turn the numeric a12 and a13 variables into string variables, but when running the code:
Code:
foreach co of global countries{ use ``country'_finaldata', clear foreach appendvar of varlist a12 a13 { tostring `appendvar', replace } save ``country'_finaldata', replace }
Code:
a12 has value label; no replace a13 has value label; no replace
0 Response to How to standardize Stata variables format before using -append- ?
Post a Comment