conNOSAMS: Open NOSAMS DB connection

View source: R/db_access.R

conNOSAMSR Documentation

Open NOSAMS DB connection

Description

Uses credentials for database from system key store if found, takes a connection string from the CONSTRING environment variable if not found in key store.

Usage

conNOSAMS(database = "nosams-prod")

Arguments

database

Database to connect to. Defaults to "nosams-prod".

Value

An odbc db connection object

See Also

store_credentials to store user credentials in the system key store.


blongworth/amstools documentation built on Nov. 9, 2023, 6:52 p.m.