Get germplasm metadata for multiple trials
getGermplasmFromTrialVec.RdWrapper around getGermplasmFromSingleTrial to retrieve and combine
germplasm metadata for a vector of trial IDs.
Arguments
- study_id_vec
A character vector of studyDbIds to query.
- brapiConnection
A BrAPI connection object as used in
getGermplasmFromSingleTrial().- verbose
Logical; passed on to
getGermplasmFromSingleTrial()to control logging. If FALSE display purrr progress bar
Value
A data frame obtained by row-binding the results of each trial, with one row per germplasm per trial
Examples
if (FALSE) { # \dontrun{
brapiConn <- BrAPI::createBrAPIConnection("wheat-sandbox.triticeaetoolbox.org", is_breedbase = TRUE)
all_germ <- getGermplasmFromTrialVec(c("8128", "9421"), brapiConn)
all_germ
} # }