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

iecodebook: problem with using the .o as a label for missingvalues option #130

Closed RadhikaKaul closed 4 years ago

RadhikaKaul commented 4 years ago

. iecodebook apply using "$malawi_codebook/Baseline_codebook_final.xlsx", drop miss(.d = Don't Know, .n = Not Applicable, .o = Other, .r = Refused, .s = Skipped) invalid '.o' r(198);

bbdaniels commented 4 years ago

Please retry this with the correct syntax for labels and let me know if this persists -- it requires quotation marks and not equals signs, i.e.:

missingvalues(.d "Don't Know" .r "Refused" .n "Not Applicable")
bbdaniels commented 4 years ago

Closing if this resolves the error @RadhikaKaul