Import a geocoded cohort table to gaiaDB
Usage
importCohortTable(gaiaConnectionDetails, cohort, overwrite = FALSE)
Arguments
- gaiaConnectionDetails
(list) For connecting to gaiaDB. An object of class
connectionDetails as created by the
createConnectionDetails function
- cohort
(data.frame) An OHDSI cohort table with a POINT geometry column
named geometry
- overwrite
(boolean) Overwrite existing tables in the cohort schema?
Value
A new cohort table in the gaiaDB cohort schema
Examples
if (FALSE) { # \dontrun{
importCohortTable(gaiaConnectionDetails = gaiaConnectionDetails,
cohort = geocodedCohort,
overwrite = FALSE)
} # }