View source: R/longFormatSave.R
saveValuesFromLongFormat | R Documentation |
Saves values from a specific format
saveValuesFromLongFormat(entityData, entityKind, stateGroups = NULL,
lsTransaction, recordedBy, stateGroupIndices = NULL, testMode = FALSE)
entityData |
A data frame that includes columns:
|
entityKind |
String: the kind of the state, allowed values are: "protocol", "experiment", "analysisgroup", "subject", "treatmentgroup", "container", "itxcontainercontainer", "itxsubjectcontainer" |
stateGroups |
A list of lists, each of which includes details about how to save states |
lsTransaction |
An id of an lsTransaction |
recordedBy |
String: the username recording the data |
stateGroupIndices |
An integer vector of the indices to use from stateGroups (others are removed) |
testMode |
A boolean marking if the function should return JSON instead of saving values |
All numericValues of Inf will be have their stringValue set to "infinite" as Inf can't be stored in the database. Code in longFormatSave.R
A list of value objects (lists)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.