coerce_to_spec | R Documentation |
Coerce data types to the specification
coerce_to_spec(table_list, table_spec, .fn_date = as.Date)
table_list |
A list of data frames to check against the spec. |
table_spec |
The table spec. See details. |
.fn_date |
function for converting the SQL "DATETIME" type. Default
|
Other Data Spec Functions:
add_missing_spec_cols()
,
add_missing_spec_tables()
,
assert_case()
,
change_case_from_spec()
,
check_spec()
,
data_case()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.