getDatabaseConnection {prrd}R Documentation

Database Helper Functions

Description

Several Database Connection Helper Functions

Usage

getDatabaseConnection(file)

createTable(con)

insertRow(con, df)

createRunDataTable(con)

Arguments

file

A character variable pointing to a sqlite3 file

con

A database connection object

df

A one-row data.frame with results to be appended

Details

These functions return a connection, create a table and insert a row of data, respectively.

Value

A connection object

Author(s)

Dirk Eddelbuettel


[Package prrd version 0.0.6 Index]