CreateEmptyBreathTestDatabase: Create an empty SQLite database for breath test data

Description Usage Arguments Author(s) Examples

View source: R/HandleBreathTestDatabase.R

Description

These functions can be used for testing, or as a sample how to write data to the database. Using sqlite allows for full control of database and table creation from the script.

Usage

1

Arguments

sqlitePath

Full filename with path to create database file. The file will not be overwritten if it exists. Use getOption("Gastrobase2SqlitePath") to find the default path for the database.

Author(s)

Dieter Menne, dieter.menne@menne-biomed.de

Examples

1
2
3
4
5
6
7
8
sqlitePath = tempfile(pattern = "Gastrobase", tmpdir = tempdir(), fileext = ".sqlite")
unlink(sqlitePath)
CreateEmptyBreathTestDatabase(sqlitePath)
## Not run: 
# This creates a default database, but does not overwrite existing files
CreateEmptyBreathTestDatabase(getOption("Gastrobase2SqlitePath"))

## End(Not run)

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