get_study_info | R Documentation |
This function will retrieve the details/metadata of the current active study as configured in the internal state object using 'set_study()' function.
get_study_info()
a data frame of the study details/metadata
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
login_bms
, set_crop
, set_program
,
set_trial
, set_study
if(interactive()) {
# config your BMS connection
set_qbms_config("https://bmsdev-brapi.ibp.services/ibpworkbench")
# login using your BMS account (interactive mode)
# you can pass BMS username and password as parameters (batch mode)
login_bms()
set_crop("maize")
# select a breeding program by name
set_program("MC Maize")
# select a specific study/trial by name
set_trial("2018 PVT")
# select a specific environment/location dataset
set_study("2018 PVT Environment Number 1")
# retrieve the general information of the selected environment/location
info <- get_study_info()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.