get_program_studies {QBMS} | R Documentation |
Get the List of Trials/Studies/Locations Information of the Current Selected Program
Description
Retrieves all environments/locations information of the trials studies in the current active program as configured in the internal state object using the 'set_program()' function.
Usage
get_program_studies()
Value
A data frame of locations information for each study in the program trials.
Author(s)
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
See Also
login_bms
, set_crop
, set_program
Examples
if(interactive()) {
# config your server connection
set_qbms_config("https://bms.icarda.org/ibpworkbench")
# login using your account (interactive mode)
# you can pass your username and password as parameters (batch mode)
login_bms()
# Select a crop by name
set_crop("wheat")
# select a breeding program by name
set_program("Wheat International Nurseries")
# retrieve all environments/locations information in the selected program studies/trials
program_studies <- get_program_studies()
}
[Package QBMS version 1.0.0 Index]