View source: R/directDatabaseSave.R
saveAllViaDirectDatabase | R Documentation |
Saves data frames all in one transaction
saveAllViaDirectDatabase(analysisGroupData, treatmentGroupData, subjectData,
appendCodeName = list())
analysisGroupData |
A data frame of analysis group values |
treatmentGroupData |
A data frame of treatment group values |
subjectData |
A data frame of subject values |
appendCodeName |
A list with entries "analysisGroupData", "treatmentGroupData", "subjectData", each has a vector of valuekinds that should have the code name appended to the front |
each of the data frames must have these columns: unitKind, valueType,
valueKind, numericValue, publicData, stateType, stateKind, tempStateId,
tempId, lsType, lsKind. Other optional columns can be found in the source code for
formatEntityAsTsvAndUpload
. You can get updating and more
checks using saveAllViaTsv
, but it will be slower.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.