Learn R Programming

openappr (version 0.2.0)

get_app_connection: Get the app connection from the environment

Description

Call the app connection. The connection is set in the function set_app_connection.

Usage

get_app_connection()

Arguments

Value

returns a the app connection to the app data.

Examples

Run this code
# Establish a connection to the PostgreSQL database
set_app_connection(
  dbname = "vmc",
  host = "apps-server.idems.international",
  port = 5432,
  user = "vmc",
  password = "LSQkyYg5KzL747"
)

get_app_connection()

Run the code above in your browser using DataLab