check_spec | R Documentation |
check_spec()
will check a list of data against an expected file specification.
check_spec(
table_list,
table_spec,
type_label = "Import File",
.silent = TRUE,
.include_table_type = NULL
)
table_list |
A list of data frames to check against the spec. |
table_spec |
The table spec. See details. |
type_label |
A character label for the check message. |
.silent |
Logical whether or not to print results to the console. |
.include_table_type |
Character vector of 'type' values from the spec
'tables' to include in the check. Useful to remove certain table types, such
as enumerations. If |
A list containing the results of the check.
Other Data Spec Functions:
add_missing_spec_cols()
,
add_missing_spec_tables()
,
assert_case()
,
change_case_from_spec()
,
coerce_to_spec()
,
data_case()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.