ds.distinct.Rd
DataSHIELD implentation of dplyr::distinct
.
ds.distinct(
df.name = NULL,
tidy_expr = NULL,
.keep_all = FALSE,
newobj = NULL,
datasources = NULL
)
Character specifying a serverside data frame or tibble.
Optionally, list of variables to use when determining uniqueness. If there are multiple rows for a given combination of inputs, only the first row will be preserved. If omitted, will use all variables in the data frame.
If TRUE, keep all variables in .data. If a combination of expr
is not
distinct, this keeps the first row of values.
Character specifying name for new server-side data frame.
DataSHIELD connections object.
No return value, called for its side effects. An object (typically a data frame or tibble)
with the name specified by newobj
is created on the server.
if (FALSE) {
ds.distinct(
df.name = "mtcars",
expr = list(mpg, cyl),
newobj = "distinct_df"
)
}