Skip to contents

Import a geocoded cohort table to gaiaDB

Usage

importLocationTable(gaiaConnectionDetails, location, overwrite = FALSE)

Arguments

gaiaConnectionDetails

(list) For connecting to gaiaDB. An object of class connectionDetails as created by the createConnectionDetails function

location

(data.frame) A table with OMOP location_ids, an address string, and POINT geometry column named geometry

overwrite

(boolean) Overwrite existing tables in the cohort schema?

Value

A new geom_omop_location table in the gaiaDB omop schema

Examples

if (FALSE) {
importLocationTable(gaiaConnectionDetails = gaiaConnectionDetails,
                    location = geocodedLocation,
                    overwrite = FALSE)
}