Description Usage Arguments Value Examples
Colorized output printed to the console with results
1 | check_values(data, white_list, return_bad = FALSE)
|
data |
A dataframe or list. |
white_list |
A list, where the names are required columns and the elements are permitted values for each column. |
return_bad |
Boolean, should non-permitted values be returned in a list? |
The function invisibly returns a boolean
value, TRUE
if all
needed names are present and FALSE
if any needed names are missing.
Unless return_bad=TRUE
then it returns a list instead.
1 2 3 4 | ## Not run:
hem_data %>% check_values(hem_wl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.