checkVars
Check raw data: are all required variables preseent and ensure there are no extraneous variables.
checkVars(data, varNames, except = NULL)
data
: Raw data, a data frame.varNames
: Vector of valid variable names.except
: A vector of variable names to be excluded form the check.A list.