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.

Usage

1
verify_entry_file(file, challenge = "ilinet")

Arguments

file

A csv entry file

challenge

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

Value

Invisibly returns TRUE if successful

See Also

verify_entry

Examples

1
2
file <- system.file("extdata", "valid-test.csv", package="FluSight")
verify_entry_file(file) # TRUE

jarad/FluSight documentation built on Oct. 24, 2020, 9:58 p.m.