valid_values_check: Return a vector of boolean values indicating if the value is...

View source: R/valid_values_check.R

valid_values_checkR Documentation

Return a vector of boolean values indicating if the value is a valid value

Description

This function will evaluate if a value for certain columns in the continuous data submission template xlsx file v2.03 are valid values. Returns TRUE if valid and FALSE if not. NA is included as a valid value for columns that are optional or conditional.

Usage

valid_values_check(col, vals)

Arguments

col

Name of the column in the continuous data submission template xlsx file v2.03 to return valid values. col is passed to valid_values to get the valid values. The col name can be formatted as shown in the xlsx template or in R format derived using make.names. If you need to determine the correct value for col see cols_audit, cols_deploy, cols_mloc, cols_prepost, or cols_results.

vals

Vector of values to evaluate.

Value

Vector of boolean values indicating if the value is a valid value

See Also

valid_values


DEQrmichie/odeqcdr documentation built on Feb. 15, 2025, 10:01 a.m.