Skip to contents

Get Location Table Addresses

Usage

getLocationAddresses(connectionDetails, cdmDatabaseSchema)

Arguments

connectionDetails

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

cdmDatabseSchema

(character) Schema name where your patient-level data in OMOP CDM format resides. Note that for SQL Server, this should include both the database and schema name, for example 'cdm_data.dbo'.

Value

(data.frame) A transformed Location table with addresses and any existing latitude and longitudes attached

Examples

if (FALSE) {
getLocationAddresses(connectionDetails = connectionDetails,
                   cdmDatabaseSchema = myDatabase.dbo)
}