ds.rename | R Documentation |
DataSHIELD implentation of dplyr::rename
.
ds.rename(df.name = NULL, tidy_expr = NULL, newobj = NULL, datasources = NULL)
df.name |
Character specifying a serverside data frame or tibble. |
tidy_expr |
List with format new_name = old_name to rename selected variables. |
newobj |
Character specifying name for new server-side data frame. |
datasources |
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.
## Not run:
## First log in to a DataSHIELD session with mtcars dataset loaded.
ds.rename(
df.name = "mtcars",
tidy_select = list(new_var_1 = mpg, new_var_2 = cyl),
newobj = "df_renamed",
dataources = conns
)
## Refer to the package vignette for more examples.
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.