get_db_settings: get_db_settings

View source: R/app_utils.R

get_db_settingsR Documentation

get_db_settings

Description

get_db_settings

Usage

get_db_settings(input, target = TRUE, db_type, displayname_gui, rv)

Arguments

input

Shiny server input object.

target

A boolean (default: TRUE).

db_type

(String) "postgres" or "oracle".

displayname_gui

(String) "i2b2 (Prod)"

rv

The global 'reactiveValues()' object, defined in server.R

Value

This functions returns a data table of key-value pairs for the database settings, which are parsed from the respective config tab from the shiny application.

Examples

if (interactive()) {
 get_db_settings(
  input = input,
  target = TRUE,
  db_type = "postgres"
 )
}


miracum/dqa-dqagui documentation built on Feb. 12, 2025, 6:08 a.m.