lists trials available on a brapi server

ba_studies_search(con = NULL, studyType = "", programDbId = "",
  locationDbId = "", seasonDbId = "", germplasmDbIds = "",
  observationVariableDbIds = "", active = "", sortBy = "",
  sortOrder = "", page = 0, pageSize = 1000, verb = "GET",
  rclass = "tibble")

Arguments

con

brapi connection object

studyType

character; default: ''

programDbId

character; default: ''

locationDbId

character; default: ''

seasonDbId

character; default: ''

germplasmDbIds

character; default: ''

observationVariableDbIds

character; default: ''

active

character; default: ''

sortBy

character; default: ''

sortOrder

character; default: ''

page

integer; default: 1000

pageSize

integer; default: 0

verb

character; default: 'GET' (or 'POST')

rclass

character; default: tibble

Value

rclass as defined

Note

This call must have set a specific identifier. The default is an empty string. If not changed to an identifier present in the database this will result in an error.

Tested against: sweetpotatobase

References

github

See also

Examples

if (interactive()) { library(brapi) # Need to connect to a database with genetic data # con <- ba_db()$xxxxx # ba_studies_search(con = con, ...) }