BreathTestRecordToDatabase: Computes fit and writes a 13C record and extracted parameters...

Description Usage Arguments Value

View source: R/HandleBreathTestDatabase.R

Description

Appends measured values of a record to the database. Skips saving if the file is already in the database. To overwrite an existing file, the old record must be manually deleted from the database. Computes and saves the extracted parameters from ExpBeta and Wagner-Nelson Fit.

Table Patient: Creates patient if required.

Table BreathTestRecord: PatientID (refers to Patient); Filename, Device, ...

Table BreathTestTimeSeries: Original times series as Parameter=BreathID,

Usage

1

Arguments

bid

Record as simulated by SimulateBreathID or ReadBreathID

con

Connection to sqlite database

Value

BreathTestRecordID of added record, or NULL if not written.


dmenne/d13cbreath documentation built on March 1, 2020, 3:41 a.m.