Retrieves the combined observations data (including all studies) for the current
active trial, as configured in the internal state object using the set_trial
function.
This function iterates over all studies within the active trial and aggregates
their observation data.
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")
MET <- get_trial_data()
head(MET)
}