aact_connection: Connect to AACT PostgreSQL database

View source: R/aact_query.R

aact_connectionR Documentation

Connect to AACT PostgreSQL database

Description

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

## Not run: 
# 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'))

## End(Not run)

clintrialx documentation built on April 3, 2025, 6:47 p.m.