dsHasTable {DSI}R Documentation

Check remote table exists

Description

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

See Also

Other DSConnection generics: DSConnection-class, dsAggregate(), dsAssignExpr(), dsAssignResource(), dsAssignTable(), dsDisconnect(), dsGetInfo(), dsHasResource(), dsIsAsync(), dsKeepAlive(), dsListMethods(), dsListPackages(), dsListProfiles(), dsListResources(), dsListSymbols(), dsListTables(), dsListWorkspaces(), dsRestoreWorkspace(), dsRmSymbol(), dsRmWorkspace(), dsSaveWorkspace()

Examples

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

## End(Not run)

[Package DSI version 1.5.0 Index]