ba_studies_observationunits_save.Rd
Call to invoke for saving the measurements (observations) collected from field for all the observation units.
ba_studies_observationunits_save(con = NULL, studyDbId = "", unitData = NULL, observationLevel = "plot", transactionDbId = "", commit = TRUE)
con | brapi connection object |
---|---|
studyDbId | character a unique study ID |
unitData | data.frame or tibble observation unit data |
observationLevel | character plot (default) or plant |
transactionDbId | character string |
commit | logical TRUE (default) |
character a unique sample ID assigned by the server
Other phenotyping: ba_samples_save
,
ba_samples
,
ba_studies_details
,
ba_studies_layout
,
ba_studies_observationlevels
,
ba_studies_observations
,
ba_studies_observationunits
,
ba_studies_observationvariables
,
ba_studies_search
,
ba_studies_seasons
,
ba_studies_studytypes
,
ba_studies_table_save
,
ba_studies_table
,
ba_trials_details
, ba_trials
if (interactive()) { library(brapi) # Need to connect to a database with genetic data # con <- ba_db()$xxxxx # ba_studies_observationunits_save(con = con, ...) }