powered by
checkKeysExist
checkKeysExist(df, keys)
a data frame
a list of expected columns
None. Stops if keys are not present as column names in df.
# NOT RUN { checkKeysExist(iris, 'columnName') # }
Run the code above in your browser using DataLab