datashield.status: Check Datashield configuration status

Description Usage Arguments Details Value Author(s) Examples

Description

This function allows for clients to check each server for data access, configuration and versions.

Usage

1
2
datashield.status(logins = NULL, study = NULL, directory = "~/.ssh",
  timeout = 20)

Arguments

logins

A dataframe table that holds login details. This table holds five elements 'url' (the opal url), 'user' (the user name or the certificate file path), 'password' (the user password or the private key file path), 'table' (the fully qualified name of the table in opal). An additional column 'identifiers' can be specified for identifiers mapping (from Opal 2.0). See also the documentation of the examplar input table logindata for details of the login elements.

study

Limit the status inspection to one or more studies which name is specified by this parameter.

directory

Where to look for certificate and private key. Default is user's .ssh folder.

timeout

Time in seconds after which a request must have been completed. 0 (zero) means it never times out during transfer. Default is 20 seconds.

Details

Get the status of the table(s), method(s), and packgage(s) in differents Opal servers.

Value

A list of various system status

Author(s)

Mbatchou, S.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
## Not run: 

#### The below examples illustrate an analysises that use test/simulated data ####

# build your data.frame
server <- c("study1", "study2")
url <- c("https://some.opal.host:8443","https://another.opal.host")
user <- c("user1", "datashield-certificate.pem")
password <- c("user1pwd", "datashield-private.pem")
table <- c("store.Dataset","foo.DS")
logindata <- data.frame(server,url,user,password,table)

# or load the data.frame that contains the login details
data(logindata)

# Example 1: check all servers (default)
datashield.status(logins=logindata)

# Example 2: check a list of named servers
datashield.status(logins=logindata,study=c("study1"))


## End(Not run)

datashield/opal documentation built on May 14, 2019, 7:53 p.m.