rws_read.character: Read Tables from a SQLite Database

View source: R/read.R

rws_read.characterR Documentation

Read Tables from a SQLite Database

Description

Read Tables from a SQLite Database

Usage

## S3 method for class '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

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)

poissonconsulting/readwritesqlite documentation built on Oct. 17, 2022, 7:20 p.m.