Check a data.frame before analysis.
checkDataset(
name,
reqcol = NULL,
slim = FALSE,
slimcol = NULL,
string = NULL,
stringcol = NULL,
env = parent.frame(),
parent = NULL,
debug = FALSE
)
character name of data.frame.
character vector with required column names.
logical TRUE to check if 'slim' data.
character vector with column names to check if 'slim' data.
character vector with invalid strings in 'stringcol', return FALSE if found.
character vector with column names to check for 'string'.
environment where to look for the data frame.
parent gWidget.
logical indicating printing debug information.
Check that the object exist, there are rows, the required columns exist, if data.frame is 'fat', and if invalid strings exist. Show error message if not.