The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

Mica Data Access Request API

Yannick Marcon

2021-04-16

Mica provides some web services for handling the data access request (DAR) workflow. The Mica R package exposes data access requests related functions that may be used for reporting:

Setup the connection with Mica, login with a user having permission to administrate data access requests:

library(micar)
m <- mica.login(username="administrator", password="password", url="https://mica-demo.obiba.org")

Get the DAR form that describes the data model:

mica.dar.form(m)

Get the list of all the data access requests, one column per field:

mica.dars(m)

Or only a single one:

mica.dar(m, "390463")

Get the history of changes of a DAR:

mica.dar.history(m, "390463")

Get the amendments of a DAR:

mica.dar.amendments(m, "390463")

Good practice is to free server resources by sending a logout request:

mica.logout(m)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.