connect_to_etn: Connect to the ETN database

View source: R/connect_to_etn.R

connect_to_etnR Documentation

Connect to the ETN database

Description

Connect to the ETN database using username and password.

Usage

connect_to_etn(username = Sys.getenv("userid"), password = Sys.getenv("pwd"))

Arguments

username

Character. Username to use for the connection.

password

Character. Password to use for the connection.

Value

ODBC connection to ETN database.

Examples

## Not run: 
# Connect to the ETN database using your rstudio.lifewatch.be username and
# password, and save as the default connection variable "con"
con <- connect_to_etn()

# Connect to the ETN database using non-default username and password
con <- connect_to_etn(username = "my_username", password = "my_password")

## End(Not run)

inbo/etn documentation built on Dec. 5, 2023, 4:17 a.m.