hurlbertlab / dietdatabase

Creative Commons Zero v1.0 Universal
10 stars 9 forks source link

QA/QC observation month begin/end problem #84

Closed pwinner1 closed 6 years ago

pwinner1 commented 6 years ago

qa_qc() function does not detect when a value is not a numerical value when it should be.

For example, "June" in observation month begin or end returning "OK" instead of pointing out the problem that it's not a numerical value.

ahhurlbert commented 6 years ago

Fixed. qa_qc() now tells you if 1) all values in a field are NA, 2) values in a numeric field are not actually numeric or integers, and 3) lists problematic record numbers if any.