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
38 stars 18 forks source link

[iecorrect]: Remove reliance on user-written command `mdesc` #224

Closed bbdaniels closed 1 year ago

bbdaniels commented 2 years ago

iecorrect relies on the user-written command mdesc in two locations. This should be removed and replaced by built-in functionality such as count if missing(`var').

https://github.com/worldbank/iefieldkit/blob/1ea8b7b7c0929d274d0faef4e5ca3fba983c54da/src/ado_files/iecorrect.ado#L637

https://github.com/worldbank/iefieldkit/blob/1ea8b7b7c0929d274d0faef4e5ca3fba983c54da/src/ado_files/iecorrect.ado#L696

luizaandrade commented 2 years ago

ha! great catch. thanks, Ben! I had liked this solution so much...