Closed kaitejohnson closed 3 weeks ago
I think this should be addressed in the validate_ww_conc_data()
function here https://github.com/CDCgov/ww-inference-model/blob/629a9c0fe6c46f5b71fede329278cf55fcc55d99/R/validate.R#L77-L81
@kaitejohnson, besides site_pop
, what other variables should be constant across sites? We should try to address the checker right away for whatever other variable needs to be considered constant.
It would just be that one!
As described by @akeyel via email.
After further investigation, I believe the issue was that there were multiple
site_pop
per a single site being passed intowwinference
. I thought that I had a check for this inpreprocess_ww_data()
but when I reran it didn't seem to flag.So this issue needs to edit and retest the
checkers
/validate
to make sure there is one unique population size per site, or add a new checker if it is missing.