| validate | R Documentation |
dmdSchemeThis function validates an object representing a dmdScheme. The result can
be used as a basis for a report by running report() on the resultiung
object of class dmdScheme_validation.
validate(x, path = ".", validateData = TRUE, errorIfStructFalse = TRUE) ## S3 method for class 'character' validate(x, path = ".", validateData = TRUE, errorIfStructFalse = TRUE) ## S3 method for class 'dmdSchemeSet_raw' validate(x, path = ".", validateData = TRUE, errorIfStructFalse = TRUE)
x |
object referring to a |
path |
path to the data files |
validateData |
if |
errorIfStructFalse |
if |
return the dmdScheme_validation object
validate(character): validate a character object referring to a spreadsheet file which contains the metadata.
validate(dmdSchemeSet_raw): validate a dmdSchemeSet_raw object
## validata an Excel file containing the metadata
validate(
x = scheme_path_xlsx()
)
## validate a `dmdScheme_raw object`
validate(
x = dmdScheme_raw()
)
## use `read_raw()` to read an Excel spreadsheet into a `dmdScheme_raw` object
x <- read_excel_raw( scheme_path_xlsx() )
validate( x = x )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.