Description Usage Arguments Value
View source: R/check_conditions_funcs.R
check_columns
if the object is missing a required column then this function throws an error. If the
object contains all or more of the required columns the object passes this condition check.
1 | check_columns(object, required_columns, message_details = NULL)
|
object |
the data frame or tibble to check |
required_columns |
names of the columns that must be included in the object |
message_details |
default set to NULL but if the user sets equal to a string, the contents of the string will be included in the error message |
an error message if a required column is missing
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.