get_connection: R connector for Nuvolos.cloud

View source: R/get_connection.R

get_connectionR Documentation

R connector for Nuvolos.cloud

Description

Function get_connection(dbname, schemaname) Creates a new connection to schema dbname.schemaname. If both arguments are NULL then get_connection will try to call get_nuvolos_db_path().

Usage

get_connection(
  username = NULL,
  password = NULL,
  dbname = NULL,
  schemaname = NULL
)

Arguments

username

The Nuvolos username of the connecting user. To obtain the username, please consult the connection guide on Nuvolos.

password

The Nuvolos password of the connecting user. To obtain the password, please consult the connection guide on Nuvolos.

dbname

The database (organization + space) to connect to

schemaname

The schema (instance + state) to connect to

Value

Return an ODBC connection object.

Examples

con <- get_connection()
con <- get_connection(dbname = "my_database", schemaname = "my_schema")
con <- get_connection(username = "my_user", 
                      password = "my_password", 
                      dbname = "my_database", schemaname = "my_schema")


nuvolos-cloud/r-connector documentation built on March 29, 2025, 3:22 p.m.