check_get_hidden_connection: Check "hidden" DB connections available and valid or create...

View source: R/connections.R

check_get_hidden_connectionR Documentation

Check "hidden" DB connections available and valid or create new one

Description

Check "hidden" DB connections available and valid or create new one

Usage

check_get_hidden_connection(
  .database_name = "Documentation",
  r_and_a_server = TRUE
)

Arguments

.database_name

name of the database you want to connect to

r_and_a_server

switch for attaching to R&A server. Default is FALSE

Value

returns an S4 object that inherits from DBIConnection. This object is used to communicate with the database engine.

Note that this function is called for it's side-effect: it will create a connection object with the name conn_{.database_name} **that is in the ideadata package environment


idea-analytics/ideadata documentation built on Feb. 1, 2024, 5:40 a.m.