rws_read_table {readwritesqlite} | R Documentation |
Read a Table from a SQLite Database
Description
Read a Table from a SQLite Database
Usage
rws_read_table(x, meta = TRUE, conn)
Arguments
x |
A string of the table name. |
meta |
A flag specifying whether to preserve meta data. |
conn |
A SQLiteConnection to a database. |
Value
A data frame of the table.
Examples
conn <- rws_connect()
rws_write(rws_data, exists = FALSE, conn = conn)
rws_write(rws_data[c("date", "ordered")],
x_name = "data2", exists = FALSE, conn = conn
)
rws_read_table("data2", conn = conn)
rws_disconnect(conn)
[Package readwritesqlite version 0.2.0 Index]