DataSHIELD login details builder
DataSHIELD login details builder
Details
Helper class for creating a valid data frame that can be used to perform datashield.login.
See also newDSLoginBuilder.
Methods
Method new()
Create a new DSLoginBuilder instance.
Usage
DSLoginBuilder$new(logins = NULL, .silent = FALSE)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.