OpenDatabaseConnection: Open a connection to the Desert Springs Database

View source: R/utils.R

OpenDatabaseConnectionR Documentation

Open a connection to the Desert Springs Database

Description

Open a connection to the Desert Springs Database

Usage

OpenDatabaseConnection(use.mojn.default = TRUE, drv = odbc::odbc(), ...)

Arguments

use.mojn.default

Connect to the live MOJN Desert Springs database? MOJN staff should use this option. Defaults to TRUE.

drv

DBI driver to use. Defaults to odbc::odbc().

...

Additional arguments to dbPool. Ignored if use.mojn.default is TRUE.

Value

A database connection pool object

Examples

## Not run: 
conn <- OpenDatabaseConnection()

## End(Not run)

nationalparkservice/mojn-ds-rpackage documentation built on Oct. 5, 2023, 6:21 p.m.