readwritesqlite (version 0.0.1)

rws_query: Query SQLite Database

Description

Gets a query from a SQLite database.

Usage

rws_query(query, meta = TRUE, conn)

Arguments

query

A string of a SQLite query.

meta

A flag specifying whether to preserve meta data.

conn

A '>SQLiteConnection to a database.

Value

A data frame of the query.

Examples

Run this code
# NOT RUN {
conn <- rws_connect()
rws_write(rws_data, exists = FALSE, conn = conn)
rws_query("SELECT date, posixct, factor FROM rws_data", conn = conn)
rws_disconnect(conn)
# }

Run the code above in your browser using DataCamp Workspace