valid_values: Return a vector of valid values for a column.

View source: R/valid_values.R

valid_valuesR Documentation

Return a vector of valid values for a column.

Description

This function will return valid values for certain columns in the continuous data submission template xlsx file v2.03. NA is included as a valid value for columns that are optional or conditional.

Usage

valid_values(col = NULL)

Arguments

col

Name of the column in the continuous data submission template xlsx file v2.03 to return valid values. The name can be formatted as shown in the xlsx template or in R format derived using make.names. if col=NULL All valid values are returned as a list with the column name as the list lookup. Default is NULL.

Value

vector of valid values or list of all valid values.


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