gigwa_set_project {QBMS}R Documentation

Set the Current Active GIGWA Project

Description

This function updates the current active project in the internal state object using the programDbId retrieved from GIGWA which is associated with the given 'project_name' parameter.

Usage

gigwa_set_project(project_name)

Arguments

project_name

The name of the project.

Value

No return value.

Author(s)

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

See Also

set_qbms_config, gigwa_set_db, gigwa_list_projects

Examples

if (interactive()) {
  # Configure 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")

  # Select a project by name
  gigwa_set_project("Nelson_et_al_2011")
}

[Package QBMS version 1.0.0 Index]