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

dsHasTable(conn, table)

Arguments

conn

An object that inherits from DSConnection-class.

table

the table fully qualified name

Examples

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