cols_exist | R Documentation |
cols_exist()
is a pipeline validation function that checks whether
specified columns exist in the input data. It is inspired by
pointblank::col_exists()
but allows tidy selection of columns.
cols_exist(.data, ..., action = rlang::abort)
.data |
A data frame or data frame extension (e.g. a
|
... |
|
action |
The action to perform if one or more columns do not exist; one
of |
The input data frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.