debark | R Documentation |
debark()
standardizes the column names of timber for use in sawmill
.
It also reports the names of any missing required columns, as well as the row/column
locations of any cells of an unexpected data type (i.e. a string of text in a
column that is supposed to contain numeric values only), as per col_data_types
.
Finally, debark()
adds the columns exclude_sawmill and
exclude_sawmill_reason, to be filled in later by sawmill
as it encounters
unusable factors that need to be excluded from further processing steps.
There is no efficient way to coerce columns; this is left to import.
debark(timber)
timber_path |
character: the file path to the raw timber |
A tibble of timber with standardized column names and additional columns exclude_sawmill and exclude_sawmill_reason. If columns are missing and/or if unexpected data types are present, a prompt and/or error message will be returned instead.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.