Description Usage Arguments See Also Examples
This is intended to be called from data_allowed_values
.
Prints a warning message on a failed check.
1 | variable_allowed_values(x, x_name, allowed_values)
|
x |
vector: variable to check |
x_name |
character: name of variable to print in warning |
allowed_values |
vector: values the variable is allowed to take |
Other functions to check data format: data_check_table
,
data_check
, data_foreign_key
,
data_internal
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.