View source: R/pipeline-loadgeneric.R
| require_col | R Documentation |
Assert that a required column exists in an input data frame
require_col(df, col, df_name, role)
df |
The data frame to check. |
col |
The required column name. |
df_name |
The name of the data frame (for the error message). |
role |
A human-readable description of the column's role. |
No return value; throws an error if the column is missing.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.