verify_entry_file: Verify an entry file

Description Usage Arguments Value See Also Examples

View source: R/verify_entry.R

Description

This function will check to make sure the structure is correct and that the forecast probabilities are non-negative and sum to a value between 0.9 and 1.1. For binary targets, this function will check if the forecast provavilities are between 0 and 1.

Usage

1
verify_entry_file(file, challenge = "ilinet")

Arguments

file

A csv entry file

challenge

one of "ilinet" or "state_ili" or "hospitalization", indicating which challenge the submission is for

Value

Invisibly returns TRUE if successful, FALSE if not

See Also

verify_entry

Examples

1
2
3
4
5
## Not run: 
file <- system.file("extdata/2020-ew10-valid-national.csv",package="cdcForecastUtils")
verify_entry_file(file) 

## End(Not run)

reichlab/cdcForecastUtils documentation built on May 6, 2020, 10:43 a.m.