ba_observationvariables: ba_observationvariables

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

View source: R/ba_observationvariables.R

Description

Retrieve a list of observation variables available on a BrAPI compliant database server.

Usage

1
2
ba_observationvariables(con = NULL, traitClass = "", pageSize = 1000,
  page = 0, rclass = c("tibble", "data.frame", "list", "json"))

Arguments

con

list, brapi connection object

traitClass

character, variable's trait class e.g. "phenological"; default: ""

pageSize

integer, items per page to be returned; default: 1000

page

integer, the requested page to be returned; default: 0 (1st page)

rclass

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

Value

An object of class as defined by rclass containing the observation variables available on the BrAPI compliant database server.

Note

Tested against: sweetpotatobase, test-server

BrAPI Version: 1.0, 1.1, 1.2

BrAPI Status: active

Author(s)

Reinhard Simon, Maikel Verouden

References

github

See Also

Other observationvariables: ba_observationvariables_datatypes, ba_observationvariables_details, ba_observationvariables_ontologies

Other brapicore: ba_calls, ba_commoncropnames, ba_crops, ba_germplasm_details_study, ba_germplasm_details, ba_germplasm_pedigree, ba_germplasm_progeny, ba_germplasm_search_post, ba_germplasm_search, ba_observationvariables_datatypes, ba_observationvariables_details, ba_observationvariables_ontologies, ba_phenotypes_search_post, ba_programs_search_post, ba_programs, ba_studies_germplasm_details, ba_traits_details, ba_traits

Examples

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

  con <- ba_db()$testserver

  ba_observationvariables(con)
}

c5sire/brapi documentation built on Oct. 17, 2019, 11:45 a.m.