check_has_column | R Documentation |
Check whether a column exist and stop if not
check_has_column(data, cols, msg = NULL)
data |
A data frame. |
cols |
A tidyselection of columns. |
msg |
A custom error message if the check fails. |
boolean Whether the column exists.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.