filterDS {dsTidyverse} | R Documentation |
Performs dplyr filter
Description
DataSHIELD implentation of dplyr::filter
.
Usage
filterDS(tidy_expr, df.name, .by, .preserve)
Arguments
tidy_expr |
Diffused expression that return a logical value, and are defined in terms of the
variables in |
df.name |
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr). |
.by |
Optionally, a selection of columns to group by for just this operation, functioning as
an alternative to |
.preserve |
Relevant when the df.name input is grouped. If .preserve = FALSE (the default), the grouping structure is recalculated based on the resulting data, otherwise the grouping is kept as is. |
Value
An object of the same type as df.name
, typically a data frame or tibble.
[Package dsTidyverse version 1.0.4 Index]