You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code checks to see if ART data has been multiply entered for an area_id, for example entered at the district level and also at the provincial level:
It should also check if a sex or age group has been duplicated. For example, data should not be entered for both male/female and both sexes in a particular age group, or for age 15+ and all ages.
Expand check for sex and age dimensions
This check should also be applied to ANC testing data now
This check should be performed as part of input data validation, not at model fitting step.
I recall writing some code that does that check...but I can't remember where and I can't think of where it would be if not in this ART input data validation.
Reproducible example: this error of both male/female and both reporting in the Zimbabwe datasets should be identified:
This code checks to see if ART data has been multiply entered for an
area_id
, for example entered at the district level and also at the provincial level:naomi/R/model.R
Lines 1140 to 1147 in a69325b
It should also check if a sex or age group has been duplicated. For example, data should not be entered for both male/female and both sexes in a particular age group, or for age 15+ and all ages.
I recall writing some code that does that check...but I can't remember where and I can't think of where it would be if not in this ART input data validation.
Reproducible example: this error of both male/female and both reporting in the Zimbabwe datasets should be identified:
This throws a different error right now. But it should error for the inputs issue. And ideally error on
validate_model_options()
.The text was updated successfully, but these errors were encountered: