Loop a filter over words in a string This function splits a string based on the provide split argument, and recursively filters a dataframe for those words at a given column.
1 | filter_by_words_in_str(string, split, dataframe, col)
|
string |
string of words or other tokens to loop the filter over |
split |
split argument for the strsplit function applied to the string parameter |
dataframe |
input data |
col |
column to filter against |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.