rws_query {readwritesqlite} | R Documentation |
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
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)
[Package readwritesqlite version 0.2.0 Index]