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

# S4 method for 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) {
con <- dbConnect(DSOpal::Opal(), "server1",
  "username", "password", "https://opal.example.org")
dsHasTable(con, "test.CNSIM")
dsDisconnect(con)
}