newDSLoginBuilder {DSI} | R Documentation |
Create a new DataSHIELD login details builder
Description
Shortcut function to create a new DSLoginBuilder instance. The data frame that is being
built can be used to perform datashield.login
.
Usage
newDSLoginBuilder(logins = NULL, .silent = FALSE)
Arguments
logins |
A valid login details data frame to initiate the builder, optional. |
.silent |
Do not warn user when non secure HTTP urls are encountered. Default is FALSE. |
Examples
{
builder <- newDSLoginBuilder()
builder$append(server="server1", url="https://opal-demo.obiba.org", table="datashield.CNSIM1",
user="administrator", password="password")
builder$append(server="server2", url="dslite.server", table="CNSIM2")
builder$append(server="server3", url="http://molgenis.example.org", table="CNSIM3",
token="123456789")
builder$append(server="server4", url="dslite.server", table="CNSIM4")
logindata <- builder$build()
}
[Package DSI version 1.6.0 Index]