View source: R/column_helpers.R
| validate_columns | R Documentation |
Validate required columns exist
validate_columns(data, required, context = "data")
data |
Data frame to check |
required |
Character vector of required column names |
context |
Context for error message |
TRUE if all columns exist, otherwise stops with informative error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.