readwritesqlite (version 0.0.1)

rws_read.character: Read Tables from a SQLite Database

Description

Read Tables from a SQLite Database

Usage

# S3 method for character
rws_read(x, meta = TRUE, conn, ...)

Arguments

x

A character vector of table names.

meta

A flag specifying whether to preserve meta data.

conn

A '>SQLiteConnection to a database.

...

Not used.

Value

A named list of the data frames.

See Also

Other rws_read: rws_describe_meta.data.frame, rws_read.SQLiteConnection, rws_read

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(c("rws_data", "data2"), conn = conn)
rws_disconnect(conn)
# }

Run the code above in your browser using DataCamp Workspace