ds.bind_rows.Rd
DataSHIELD implementation of dplyr::bind_rows
.
ds.bind_rows(to_combine = NULL, .id = NULL, newobj = NULL, datasources = NULL)
Data frames to combine. Each argument can either be a data frame, a list that could be a data frame, or a list of data frames. Columns are matched by name, and any missing columns will be filled with NA.
The name of an optional identifier column. Provide a string to create an output column that identifies each input. The column will use names if available, otherwise it will use positions.
Character specifying name for new server-side data frame.
datashield connections object.
No return value, called for its side effects. A data frame with the name specified by
newobj
and the same type as the first element of to_combine
is created on the
server.
if (FALSE) {
## First log in to a DataSHIELD session with mtcars dataset loaded.
ds.bind_rows(
to_combine = list(mtcars, mtcars),
newobj = "test",
datasources = conns
)
## Refer to the package vignette for more examples.
}