readwritesqlite (version 0.0.1)

rws_read_table: 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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataCamp Workspace