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

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


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