ds.filter.Rd
DataSHIELD implentation of dplyr::filter
.
ds.filter(
df.name = NULL,
expr = NULL,
.by = NULL,
.preserve = FALSE,
newobj = NULL,
datasources = NULL
)
Character specifying a serverside data frame or tibble.
Expressions that return a logical value, and are defined in terms of the variables in .data
Optionally, a selection of columns to group by for just this operation, functioning as an alternative to dplyr::group_by
Relevant when the .data 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.
Character specifying name for new server-side data frame.
DataSHIELD connections object.
An object with the name specified by the newobj
argument is written serverside.
if (FALSE) {
ds.filter(
df.name = "mtcars",
expr = list(cyl == 4 & mpg > 20),
newobj = "filtered",
datasources = conns
)
}