ensure_table_columns | R Documentation |
Logs an error if any variable is missing and lists the missing variables in the error message along with *data_name*.
ensure_table_columns(required, data, data_name = "the data table")
required |
List of names of required variables. |
data |
data.frame or similar object to be checked. |
data_name |
Name to be displayed in the error message if any variable is missing. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.