Client to share data in a MOLGENIS Armadillo DataSHIELD Service.
This library can be used by data managers to share datasets on a MOLGENIS Armadillo server. Researchers can then analyse these datasets and datasets shared on other servers using DataSHIELD. Researchers will only be able to access aggregate information and cannot see individual rows.
The datasets are stored in shared folders on a MinIO file store. The MOLGENIS Armadillo server has access to the file store and can load the data sets into a shielded RServe environment so that researchers can call DataSHIELD analysis methods on the data.
Login to the service.
library('MolgenisArmadillo')
armadillo.login("https://armadillo.dev.molgenis.org",
"https://armadillo-minio.dev.molgenis.org")
Now you can create a project and upload tables to the project to share them for analysis.
library(datasets)
armadillo.create_project("project")
#> Created project 'project'
armadillo.upload_table("project", "folder", iris)
#> Compressing table...
#> Uploaded table folder/iris
Listing the tables.
armadillo.list_tables("project")
#> [1] "folder/iris"
Removing the data from the storage. First you need to remove the content of a project before you can throw away the project.
armadillo.delete_table("project", "folder", "iris")
#> Deleted table 'folder/iris'.
armadillo.delete_project("project")
#> Deleted project 'project'
For more in depth documentation please check the howto.