aact_connection {clintrialx} | R 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
# 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'))
[Package clintrialx version 0.1.0 Index]