Description Usage Arguments Details Value Note Author(s) References See Also Examples
Retrieve a list of the breeding programs.
1 2 3 | ba_programs(con = NULL, programName = "", abbreviation = "",
commonCropName = "", pageSize = 1000, page = 0,
rclass = c("tibble", "data.frame", "list", "json"))
|
con |
list, brapi connection object |
programName |
character, filter programs by program name; default: "" |
abbreviation |
character, filter programs by program abbreviation; default: "" |
commonCropName |
character, filter programs by a common crop name; 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: "json"/"list"/"data.frame" |
Filtering by commonCropName has not be tested yet, because none of the databases support this feature yet (not even the test-server)!
An object of class as defined by rclass containing the breeding programs.
Tested against: BMS, sweetpotatobase, test-server
BrAPI Version: 1.0, 1.1, 1.2
BrAPI Status: active
Reinhard Simon, Maikel Verouden
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_observationvariables
,
ba_phenotypes_search_post
,
ba_programs_search_post
,
ba_studies_germplasm_details
,
ba_traits_details
, ba_traits
1 2 3 4 5 6 7 | if (interactive()) {
library(brapi)
con <- ba_db()$testserver
ba_programs(con)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.