
Get the Traits Ontology/Metadata of the Current Active Trial
Source:R/qbms.R
get_trial_obs_ontology.RdRetrieves the traits ontology or metadata for the current active trial, which includes detailed information about the observation variables used in the trial.
Value
A data frame containing the traits ontology or metadata, filtered by the observation variables used in the current trial.
See also
login, set_crop, set_program, set_trial,
get_study_data for retrieving study observations.
Author
Khaled Al-Shamaa (k.el-shamaa@cgiar.org)
Examples
if (interactive()) {
set_qbms_config("https://bms.icarda.org/ibpworkbench")
login_bms()
set_crop("wheat")
set_program("Wheat International Nurseries")
set_trial("IDYT39")
ontology <- get_trial_obs_ontology()
}