Skip to content
Snippets Groups Projects
LouisGendron's avatar
LouisGendron authored
Resolve "Add function to fetch hash for files in dataset"

Closes #1

See merge request !1
fb92eb08
History
Name Last commit Last update
R
man
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md

Riricdata

Overview

Riricdata is an API of IRIC_data which allow to download and upload files.

Installation

# install.packages("devtools")
devtools::install_gitlab("bioinfo_iric/riricdata", host="https://gitlab.iric.ca/")

Usage

library(Riricdata)
# Create IRICData object
#   By default IRIC_data url will be "https://thepond.bioinfo.iric.ca"
#   You can change it by adding url="your_url"
IData = IRICData(user="your_SIM_ids")

# Open a session
#   This cmd will ask your pwd
IData_session = open_session(IData)

# To downolad a dataset
DL_dataset(IData, IData_session, [the_dataset_id_you_want], "directory/output/path")

# To upload a file (To be continued)