get_study_data {QBMS} | R Documentation |
Get the Observations Data of the Current Active Study
Description
Retrieves the observations data (e.g., measurements, variables) for the active study,
which must be set using the set_study
function.
Usage
get_study_data()
Value
A data frame containing the observation data for the active study, or NULL
if no data is available.
Author(s)
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
See Also
login_bms
, set_crop
, set_program
,
set_trial
, set_study
for related study operations.
Examples
if (interactive()) {
set_qbms_config("https://bms.icarda.org/ibpworkbench")
login_bms()
set_crop("wheat")
set_program("Wheat International Nurseries")
set_trial("IDYT39")
set_study("IDYT39 Environment Number 9")
data <- get_study_data()
head(data)
}
[Package QBMS version 1.5.0 Index]