Learn R Programming

MolgenisArmadillo

Client to share data in a MOLGENIS Armadillo DataSHIELD Service.

Purpose

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.

Overview

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.

Usage

Login to the service.

library('MolgenisArmadillo')
armadillo.login("https://armadillo-url-example.org")

Now you can create a project and upload tables to the project to share them for analysis.

library(datasets)
armadillo.create_project("project")
armadillo.upload_table("project", "folder", iris)

Listing the tables.

armadillo.list_tables("project")

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")
armadillo.delete_project("project")

Documentation

For more in depth documentation please check the howto.

Armadillo 2

The newest version (2.x) of MolgenisArmadillo will be only compatible with Armadillo version 3. If you still use Armadillo 2, you should use the 1.1.13 version of MolgenisArmadillo. You can install this specific version using the following commands:

packageurl <- "https://cran.r-project.org/src/contrib/Archive/MolgenisArmadillo/MolgenisArmadillo_1.1.3.tar.gz"
install.packages(packageurl, repos=NULL, type="source")

If you already installed another version of the package, you might want to run this first:

remove.packages("MolgenisArmadillo")

On windows additional R packages like rtools might be required in order to install the tar.gz package from the url.

For developers

  • To build documentation, do devtools::document()
  • To run all unit tests, do devtools::test()
  • While writing code (or tests), you can use devtools::load_all() to quickly “install” the package.
  • To run a single test file, open it in Rstudio and do devtools::test_active_file()
  • To run the linter, do devtools::lint(). Tip: run it often :)
  • To create new README from Rmd: run devtools::build_readme()

Copy Link

Version

Install

install.packages('MolgenisArmadillo')

Monthly Downloads

570

Version

2.9.3

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Mariska Slofstra

Last Published

December 6th, 2025

Functions in MolgenisArmadillo (2.9.3)

armadillo.login_basic

Login with username / password (meant for dev and test environments)
armadillo.list_projects

List the projects
.load_linked_table

Helper function to extract the source parquet file in a linkfile
.load_resource

Helper function to extract an RDS file
.compress_resource

Helper function for compressing to an RDS file
armadillo.move_resource

Move the resource
.compress_table

Helper function for compressing to a parquet file
armadillo.list_resources

List the resources in a project
armadillo.upload_resource

Uploads a resource to a folder in a project
armadillo.subset_definition

Builds an R object containing info required to make subsets
armadillo.copy_table

Copy table
armadillo.get_project_users

Gets the users of an given project name
armadillo.delete_resource

Delete resource
armadillo.delete_table

Delete table
armadillo.get_projects_info

Gets the Projects information
MolgenisArmadillo-package

MolgenisArmadillo: Armadillo Client for the Armadillo Service
armadillo.copy_resource

Copy resource
armadillo.delete_project_folder

Delete project folder
armadillo.load_table

Load a table from a project
armadillo.login

Login
armadillo.delete_project

Delete project
.format_api_posts

Formats API posts based on subset definition
.get_linkfile_content

Helper function to get the contents of a linkfile
armadillo.create_project

Create a project for a variable collection
armadillo.upload_table

Uploads a table to a folder in a project
.add_slash_if_missing

Add a Slash to a URL if Missing
armadillo.list_tables

List the tables in a project
.load_table

Helper function to extract a parquet file
armadillo.load_resource

Load a resource from a project
armadillo.get_token

Get ID Token
armadillo.move_table

Move the table
armadillo.subset

Describes data available to subset and makes subset
armadillo.install_packages

Install package