Learn R Programming

mdsr (version 0.2.0)

src_scidb: src_scidb

Description

Connect to the scidb server at Smith College.

Usage

src_scidb(dbname, ...)

dbConnect_scidb(dbname, ...)

mysql_scidb(dbname, ...)

Arguments

dbname

the name of the database to which you want to connect

...

arguments passed to src_dbi or dbConnect

Value

For src_scidb, a src_dbi object

For dbConnect_scidb, a DBIConnection-class object

For mysql_scidb, a character vector of length 1 to be used as an engine.ops argument, or on the command line.

Details

This is a public, read-only account. Any abuse will be considered a hostile act.

See Also

src_dbi

DBIConnection-class

opts_chunk

Examples

Run this code
# NOT RUN {
dbAir <- src_scidb("airlines")
dbAir
dbAir <- dbConnect_scidb("airlines")
dbAir

if (require(knitr)) {
  opts_chunk$set(engine.opts = mysql_scidb("airlines"))
}
# }

Run the code above in your browser using DataLab