View source: R/backend_functions.R
This function is meant to be called from match_rows_raw which handles partitions. The function accepts a dataframe, regex-pattern and column name for definitions, and return matching rows
1 2 | match_partition_raw(df, definitions, rx, match_name = NULL,
keep_all_rows = FALSE)
|
df |
Sorted and grouped dataframe to filter |
definitions |
Column containing the definition of rows |
rx |
Perl-regex pattern to look for, based on the definitions created |
match_name |
Optional column name for match-number, defaults to NULL. |
keep_all_rows |
Boolean allows you to return all rows, uncluding nonmatching rows. Meaninless if not match_name is set. Default FALSE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.