Skip to contents

Check if a remote table exists in the data repository. Returns a logical indicating the existence of a remote table accessible through this connection.

Usage

dsHasTable(conn, table)

Arguments

conn

An object that inherits from DSConnection-class.

table

the table fully qualified name

Value

A logical indicating if the table exists.

Examples

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