Skip to contents

Verify Opal table exist and can be accessible for performing DataSHIELD operations.

Usage

# S4 method for class 'OpalConnection'
dsHasTable(conn, table)

Arguments

conn

OpalConnection-class class object.

table

The fully qualified name of the table.

Value

TRUE if table exists.

Examples

if (FALSE) { # \dontrun{
con <- dbConnect(DSOpal::Opal(), "server1",
  "administrator", "password", "https://opal-demo.obiba.org")
dsHasTable(con, "test.CNSIM")
dsDisconnect(con)
} # }