gigwa_set_db: Set the current active GIGWA database by name

View source: R/qbms.R

gigwa_set_dbR Documentation

Set the current active GIGWA database by name

Description

This function will update the current active database in the internal configuration object (including the brapi connection object).

Usage

gigwa_set_db(db_name)

Arguments

db_name

the name of the database

Value

no return value

Author(s)

Khaled Al-Shamaa, k.el-shamaa@cgiar.org

See Also

set_qbms_config, gigwa_list_dbs

Examples

if(interactive()) {
# config your GIGWA connection
set_qbms_config("https://gigwa.southgreen.fr/gigwa/", 
                time_out = 300, engine = "gigwa", no_auth = TRUE)

# select a database by name
gigwa_set_db("Sorghum-JGI_v1")
}

khaled-alshamaa/QBMS documentation built on Jan. 27, 2024, 6:40 a.m.