Filter a dataframe column on character string(s)
filter_text_col(df, filt_col, filt_text, keep_text = FALSE, df_join = NULL)
Dataframe with column to filter.
Character. Name of column to filter.
Character string(s) to find in filt_col
.
Logical. Keep or remove instances of filt_text
?
Optional dataframe. Joined to df before filter. No names from
df_join
are returned.
Filtered dataframe with same names as df
.