This function creates a connection to the local postgres instance
Source:R/postgresSource.R
localPostgres.RdIt relays on environmental variables such as:
dbname =
OMOP_POSTGRES_CONNECTOR_DBhost =
OMOP_POSTGRES_CONNECTOR_HOSTport =
OMOP_POSTGRES_CONNECTOR_PORTuser =
OMOP_POSTGRES_CONNECTOR_USERpassword =
OMOP_POSTGRES_CONNECTOR_PASSWORD
Examples
if (FALSE) { # \dontrun{
library(OmopOnPostgres)
localPostgres()
} # }