aact_check_connection | R Documentation |
Check database connection
aact_check_connection(con)
con |
Database connection object |
A data frame with distinct study types
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.