sapa.db: Connect to SAPA database

Description Usage Arguments Details Value Author(s) Examples

Description

This function establshes a connection to the specified MySQL database using the RMySQL package.

Usage

1
sapa.db(database, all = FALSE)

Arguments

database

Choose the SAPA database (i.e., 'SAPAactive' or 'SAPAarchive')

all

Logical for establishing connections for all databases

Details

https://sapa-project.org/r/

Value

con

RMySQL Connection to SAPA

Author(s)

Jason A. French jason@sapa-project.org

Examples

1
# con <- sapa.db(database='SAPAactive')

frenchja/SAPATools documentation built on May 16, 2019, 2:47 p.m.