checkVars: checkVars

View source: R/cleaningHelpers.R

checkVarsR Documentation

checkVars

Description

Check raw data: are all required variables preseent and ensure there are no extraneous variables.

Usage

checkVars(data, varNames, except = NULL)

Arguments

data

Raw data, a data frame.

varNames

Vector of valid variable names.

except

A vector of variable names to be excluded form the check.

Value

A list.


conquestr documentation built on March 31, 2023, 6:02 p.m.