Skip to contents

Connect to AACT PostgreSQL database

Usage

aact_connection(user, password)

Arguments

user

Database username

password

Database password

Value

A connection object to the AACT database

Examples

if (FALSE) { # \dontrun{
# Set environment variables for database credentials in .Renviron and load it
# readRenviron(".Renviron")

# Connect to the database
con <- aact_connection(Sys.getenv('user'), Sys.getenv('password'))
} # }