Closed annakrystalli closed 1 year ago
@elray1 @LucieContamin @kathsherratt Do you use this check and if so, how do you all feel about locations.csv
as the default name for the file?
We are using this check on the US SMH, I am ok with the default name of the file. We should just prepare some documentation to go with the file.
agreed, sounds good :)
Predictions are not greater than population size
For flusight, can look up population values from here: https://github.com/cdcepi/FluSight-forecast-hub/blob/main/auxiliary-data/locations.csv
Arguments to this validation function:
Logic:
locations.csv
and submission file on the specified column (in this example, location)NA
s in popn values, throw error (i. e. Check throws error if submission file contains locations which do not match locations in population file.)value
less thanpopulation
in all rows