ba_trials_details: ba_trials_details

Description Usage Arguments Value Note Author(s) References See Also Examples

View source: R/ba_trials_details.R

Description

List trial summary details for a given trial database identifier.

Usage

1
2
ba_trials_details(con = NULL, trialDbId = "", rclass = c("tibble",
  "data.frame", "list", "json"))

Arguments

con

list, brapi connection object

trialDbId

character, the internal database identifier for a trial of which the summary details are to be retreived; REQUIRED ARGUMENT with default: ""

rclass

character, class of the object to be returned; default: "tibble" , possible other values: "json"/"list"/"data.frame"

Value

An object of class as defined by rclass containing the trial summary details.

Note

Tested against: sweetpotatobase, test-server

BrAPI Version: 1.0, 1.1, 1.2

BrAPI Status: active

Author(s)

Reinhard Simon, Maikel Verouden

References

https://github.com/plantbreeding/API/blob/V1.2/Specification/Trials/GetTrialById.md(github)

See Also

Other trials: ba_trials

Other phenotyping: ba_phenotypes_search, ba_samples_save, ba_samples_search_post, ba_samples_search, ba_samples, ba_studies_details, ba_studies_layout, ba_studies_observationlevels, ba_studies_observations, ba_studies_observationunits_save, ba_studies_observationunits, ba_studies_observationvariables, ba_studies_search_post, ba_studies_search, ba_studies_seasons, ba_studies_studytypes, ba_studies_table_save, ba_studies_table, ba_trials

Examples

1
2
3
4
5
6
7
if (interactive()) {
  library(brapi)

  con <- ba_db()$testserver

  ba_trials_details(con, trialDbId = "101")
}

CIP-RIU/brapi documentation built on Oct. 17, 2019, 2 p.m.