Most HADES packages will need to interact with a database, for example a database containing healthcare data in the Common Data Model. HADES provides the DatabaseConnector package to make these connections.

Installing DatabaseConnector

To connect to a database, you must first make sure the DatabaseConnector is installed. If you have installed all of HADES you will already have installed DatabaseConnector. Otherwise, you can install DatabaseConnector from CRAN using:

install.package("DatabaseConnector")

Configuring your connection

After DatabaseConnector is installed, several steps will need to be taken to configure the connection to your database. See this vignette for instructions.