distinctDS.Rd
DataSHIELD implentation of dplyr::distinct
.
distinctDS(tidy_expr, df.name, .keep_all)
Optional 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.
A data frame, data frame extension (e.g. a tibble), or a lazy data frame (e.g. from dbplyr or dtplyr).
If TRUE, keep all variables in df.name If a combination of expr is not distinct, this keeps the first row of values.
An object of the same type as df.name
, typically a data frame or tibble.