Description Usage Arguments Value Examples
search_term
- Find text items that contain a term(s).
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | search_term(
text.var,
term,
exclude = NULL,
and = NULL,
ignore.case = TRUE,
...
)
search_term_which(
text.var,
term,
exclude = NULL,
and = NULL,
ignore.case = TRUE
)
|
text.var |
A vector of character strings. |
term |
A regular expression to search for (uses |
exclude |
A regular expression to exclude cases for (uses |
and |
A regular expression that must also be contained in addition to
|
ignore.case |
logical. Should |
... |
ignored. |
search_term
- Returns a text vector meeting term
regex but not exclude
regex.
1 2 3 | search_term_which(sam_i_am, "\\bsam")
search_term(sam_i_am, "\\bsam")
search_term(sam_i_am, c('green', "\\bsam"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.