Description Usage Arguments Value
Verify if the specified columns within the data frame match specified conditions. Match is performed using grepl (case insensitive, with perl set to TRUE). Any given row will be returned as TRUE if ANY of its columns matched to ANY of the keywords with ANY of the prefixes and ANY of the suffixes.
1 | .verifyConditions(df, keywords, columns, prefixes, suffixes)
|
df |
Data frame to be verified |
keywords |
Vector of strings to be searched for |
columns |
Vector with column names (within df) to be searched for |
prefixes |
(Optional) Vector or list with prefixes to keywords (its first dimension needs to be the same as columns) |
suffixes |
(Optional) Vector or list with suffixes to keywords (its first dimension needs to be the same as columns) |
Logical vector (same length as df) with TRUE indicating matches to the conditions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.