View source: R/datashield.admin.R
dsadmin.activity_summary | R Documentation |
Get the recorded DataSHIELD session metrics, grouped by profile and user.
dsadmin.activity_summary(
opal,
user = NULL,
profile = NULL,
from = NULL,
to = NULL,
df = TRUE
)
opal |
Opal connection object. |
user |
Optional user name. |
profile |
Optional profile name. |
from |
Optional start date. |
to |
Optional end date. |
df |
Return a data.frame (default is TRUE) |
## Not run:
o <- opal.login('administrator','password', url='https://opal-demo.obiba.org')
# all sessions metrics
dsadmin.activity_summary(o)
# user and profile specific session metrics
dsadmin.activity_summary(o, user = 'dsuser', profile = 'default')
# user sessions in a time range
dsadmin.activity_summary(o, user = "dsuser", from = "2022-07-01", to = "2023-01-01")
opal.logout(o)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.