-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
iefieldkit/src/ado_files/ieduplicates.ado
Lines 250 to 253 in eb2ee62
| foreach var of local existingExcelVarsRaw { | |
| local lowcase = lower("`var'") | |
| if ("`var'"!="`lowcase'") rename `var' `lowcase' // Will throw error if name is the same | |
| } |
Error happens if these two conditions are satisfied:
- The dataset has two vars that will have the same name if both converted to lower case (examples
region/REGION,region/RegionorrEgion/reGion) - Both are included in
ID_varname,uniquevars()orkeepvars()OR one var is lower case (region) not included in the command but the var is included inID_varname,uniquevars()orkeepvars().
For a reason I do not remember, the command change all variables in the report to lower case.
Two options to be investigated to solve this.
- Test if this is the case and provide user with a helpful error message
- See if the command can be modified so it can handle these cases without error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels