are all required fields present? 2) are there any extra fields present? It is used by validateRDBESDataObject() and should only be passed a list of non-null objects
R/validateRDBESDataObjectFieldNames.R
validateRDBESDataObjectFieldNames.Rd
check RDBES Data Object field names Private function to do some checks on the columns of an RDBESDataObject -
are all required fields present? 2) are there any extra fields present? It is used by validateRDBESDataObject() and should only be passed a list of non-null objects
validateRDBESDataObjectFieldNames(
objectToCheck,
verbose = FALSE,
strict = TRUE
)
RDBESDataObject i.e. a list of data.tables
(Optional) Set to TRUE if you want informative text printed out, or FALSE if you don't. The default is FALSE.
(Optional) Set to TRUE if you want to be sure all columns are present in the data, set to FALSE if you only want to check that essential columns are present. The default is TRUE.
list with first element as a boolean indicating validity and the second element contains any warnings