Description Usage Arguments Value
Scan each row for elements in a character vector and create a boolean column flag_text if any element is present.
A use case would be to scan survey data for PID such as first/last names, scan free-text survey responses for foul language or non-alphanumeric values, etc.
1 | flag_text(dat, text_vector, ignore_columns)
|
dat |
a data.frame. |
text_vector |
a character vector of values to identify in the data.frame. |
ignore_columns |
a character vector of column names that will be ignored when flagging rows. |
a data.frame object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.