View source: R/check_dbtable_variable.R
check_dbtable_variable | R Documentation |
Check if a variable is available in a given table
check_dbtable_variable( table, variable, schema = "public", channel, error = TRUE )
table |
The name of the table |
variable |
A vector with the names of the columns |
schema |
The schema of the table. Defaults to public |
channel |
the open dplyr connection to the database. |
error |
Indicates the behaviour when a variable is missing.
Gives an error when error = |
TRUE when all variables are present in the table.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.