validate_hhsaw_key: Validate HHSAW keys and connect (if possible)

validate_hhsaw_keyR Documentation

Validate HHSAW keys and connect (if possible)

Description

Validates keyring:: service name and the corresponding password. If they are valid, it creates a database connection.

Usage

validate_hhsaw_key(hhsaw_key = "hhsaw")

Arguments

hhsaw_key

Character vector of length 1.

Identifies the name of the keyring:: service that will be used to connect to HHSAW (dbname = hhs_analytics_workspace on server = kcitazrhpasqlprp16).

To see the service options you have on your local machine type keyring::key_list()

Default = 'hhsaw'

Value

a database connection

Examples


 myConnection <- validate_hhsaw_key(hhsaw_key = 'hhsaw')


PHSKC-APDE/rads documentation built on April 14, 2025, 10:47 a.m.