View source: R/data_validation.R
| require_column | R Documentation |
Validate column exists with fallback options
require_column(data, primary, fallbacks = NULL, operation = "operation")
data |
Data frame |
primary |
Primary column name |
fallbacks |
Character vector of fallback column names |
operation |
Description of operation for error message |
Column name that exists, or stops with error
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.