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)

Arguments

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)

Value

character a unique sample ID assigned by the server

References

github

See also

Examples

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