| DSLoginBuilder {DSI} | R Documentation |
DataSHIELD login details builder
Description
DataSHIELD login details builder
DataSHIELD login details builder
Format
A R6 object of class DSLoginBuilder
Details
Helper class for creating a valid data frame that can be used to perform datashield.login.
See also newDSLoginBuilder.
Methods
Public methods
Method new()
Create a new DSLoginBuilder instance.
Usage
DSLoginBuilder$new(logins = NULL, .silent = FALSE)
Arguments
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.
Returns
A DSLoginBuilder object.
Method append()
Append login information for a specific server.
Usage
DSLoginBuilder$append( server, url, table = "", resource = "", driver = "OpalDriver", user = "", password = "", token = "", options = "", profile = "" )
Arguments
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-classname to build theDSConnection-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.
Method build()
Build the DSLoginBuilder instance.
Usage
DSLoginBuilder$build()
Returns
The DataSHIELD logindata data.frame
Method clone()
The objects of this class are cloneable with this method.
Usage
DSLoginBuilder$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.