aact_check_connection: Check database connection

View source: R/aact_query.R

aact_check_connectionR Documentation

Check database connection

Description

Check database connection

Usage

aact_check_connection(con)

Arguments

con

Database connection object

Value

A data frame with distinct study types

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'))

# Check the connection
aact_check_connection(con)

## End(Not run)

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