readwritesqlite (version 0.2.0)

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, ...)

Value

A named list of the data frames.

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.

See Also

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

Examples

Run this code
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 DataLab