Learn R Programming

clintrialx (version 0.1.1)

aact_check_connection: Check database connection

Description

Check database connection

Usage

aact_check_connection(con)

Value

A data frame with distinct study types

Arguments

con

Database connection object

Examples

Run this code
if (FALSE) {
# 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'))

# Check the connection
aact_check_connection(con)
}

Run the code above in your browser using DataLab