| DSLoginBuilder | R Documentation |
DataSHIELD login details builder
DataSHIELD login details builder
A R6 object of class DSLoginBuilder
Helper class for creating a valid data frame that can be used to perform datashield.login.
See also newDSLoginBuilder.
new()Create a new DSLoginBuilder instance.
DSLoginBuilder$new(logins = NULL, .silent = FALSE)
loginsA valid login details data frame to initiate the builder, optional.
.silentDo not warn user when non secure HTTP urls are encountered. Default is FALSE.
A DSLoginBuilder object.
append()Append login information for a specific server.
DSLoginBuilder$append( server, url, table = "", resource = "", driver = "OpalDriver", user = "", password = "", token = "", options = "", profile = "" )
serverThe server name (must be unique).
urlThe url to connect to the server or a R symbol name.
tableThe table path that identifies the dataset in the server.
resourceThe resource path that identifies the resource reference in the server.
driverThe DSDriver-class name to build the DSConnection-class.
userThe user name in the user credentials.
passwordThe user password in the user credentials.
tokenThe personal access token (ignored when user credentials are not empty).
optionsAny options (R code to be parsed) that could be relevant for the DS connection object.
profileThe DataSHIELD R server profile (affects the R packages available and the applied configuration). If not provided or not supported, default profile will be applied.
build()Build the DSLoginBuilder instance.
DSLoginBuilder$build()
The DataSHIELD logindata data.frame
clone()The objects of this class are cloneable with this method.
DSLoginBuilder$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.