gigwa_list_projects: Get the list of all projects in the selected GIGWA database

View source: R/qbms.R

gigwa_list_projectsR Documentation

Get the list of all projects in the selected GIGWA database

Description

This function will retrieve the projects list from the current active database as configured in the internal configuration object using 'gigwa_set_db()' function.

Usage

gigwa_list_projects()

Value

a list of projects names

Author(s)

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

See Also

set_qbms_config, gigwa_set_db

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")

# list existing projects
gigwa_list_projects()
}

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