Description Usage Arguments Value Examples
View source: R/HandleBreathTestDatabase.R
Opens an connection to sqlite database; creates the database
if it does not exists. If missing, file name is given by
getOption("Gastrobase2SqlitePath")
which is set to
<HOME>/GastroBase/Gastobase/Gastrobase2.sqlite at package load time.
When options(D13CBreath.sqldebug=TRUE)
, SQL of queries is printed out
1 | OpenSqliteConnection(sqlitePath = NULL)
|
sqlitePath |
Full filename with path to create database file. |
con Connection for use with dbExecute and dbGetQuery
1 2 3 4 5 6 | ## Not run:
con = OpenSqliteConnection()
dbGetQuery(con, "Select PatientID,Name,FirstName from Patient")
dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.