DSConnection-class: DSConnection class

Description Implementation note See Also Examples

Description

This virtual class encapsulates the connection to a DataSHIELD-aware data repository, and it provides access to data assignments and aggregagtions etc.

Implementation note

Individual drivers are free to implement single or multiple simultaneous connections.

See Also

Other DS classes: DSDriver-class, DSObject-class, DSResult-class

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

Examples

1
2
3
4
5
6
7
## Not run: 
con <- dsConnect(DSOpal::Opal(), "server1", 
  username = "dsuser", password = "password", url = "https://opal-demo.obiba.org")
con
dsDisconnect(con)

## End(Not run)

DSI documentation built on June 22, 2021, 5:06 p.m.