verify_colnames: Verify the column names of an entry

Description Usage Arguments Value

View source: R/verify_colnames.R

Description

Compares column names to a valid entry and provides an error if any required names are missing and a warning if there are any extra names.

Usage

1
verify_colnames(entry, check_week = T)

Arguments

entry

An entry data.frame

check_week

A logical value (default 'TRUE') indicating whether to check for the column forecast_week. Should be 'TRUE' if evaluating entry prior to scoring, can be 'FALSE' if evaluating entry prior to writing to disk.

Value

Invisibly returns TRUE if successful


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