saveAllViaTsv: Save data frames using tsv loader

View source: R/tsvSave.R

saveAllViaTsvR Documentation

Save data frames using tsv loader

Description

Saves data frames all in one transaction

Usage

saveAllViaTsv(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 formatEntityAsTsvAndUpload. You can get faster saving using saveAllViaDirectDatabase, but it includes fewer checks.


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