worldbank / iefieldkit

Stata commands designed for Impact Evaluations field work. These are tools that are used during/after a survey in the field for data quality monitoring.
MIT License
39 stars 18 forks source link

[iecorrect]: Informative errors for type mismatch #229

Closed bbdaniels closed 2 years ago

bbdaniels commented 2 years ago

When a string variable is entered on the numeric sheet or vice versa, Stata breaks at the corresponding correction returning type mismatch without details. This could be checked earlier in the command and tell the user which rows/variables are requesting impossible changes. I find that I mess this up frequently by writing in the wrong sheet...

luizaandrade commented 2 years ago

not sure when this was fixed, but it is fixed. 574e7ae tests it.