ds.group_by | R Documentation |
DataSHIELD implentation of dplyr::group_by
.
ds.group_by(
df.name = NULL,
tidy_expr,
.add = FALSE,
.drop = TRUE,
newobj = NULL,
datasources = NULL
)
df.name |
Character specifying a serverside data frame or tibble. |
tidy_expr |
List of variables or computations to group by. |
.add |
When FALSE, the default, |
.drop |
Drop groups formed by factor levels that don't appear in the data? The default is TRUE except when .data has been previously grouped with .drop = FALSE. |
newobj |
Character specifying name for new server-side data frame. |
datasources |
DataSHIELD connections object. |
No return value, called for its side effects. A grouped data frame with class grouped_df
newobj
is created on the server, unless the combination of tidy_expr
and .add
yields a empty set of grouping columns, in which case a tibble will be created on the server.
## Not run:
ds.group_by(
df.name = "mtcars",
expr = list(mpg, cyl),
newobj = "grouped_df"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.