saveAllViaDirectDatabase: Save data frames using direct database load

View source: R/directDatabaseSave.R

saveAllViaDirectDatabaseR Documentation

Save data frames using direct database load

Description

Saves data frames all in one transaction

Usage

saveAllViaDirectDatabase(analysisGroupData, treatmentGroupData, subjectData,
  appendCodeName = list())

Arguments

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

Details

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.


mcneilco/racas documentation built on April 19, 2024, 1:12 p.m.