prrd (version 0.0.2)

getDatabaseConnection: Database Helper Functions

Description

Several Database Connection Helper Functions

Usage

getDatabaseConnection(file)

createTable(con)

insertRow(con, df)

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

Value

A connection object

Details

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