Load person locations from an OMOP CDM with the Gaia extension
Source:R/locations.R
loadLocationsFromOmop.RdCopies LOCATION and LOCATION_HISTORY of a CDM that carries the Gaia extension tables into the working schema, which is where spatialJoin() looks for them, and builds the point geometry (EPSG:4326) from latitude and longitude.
Arguments
- connection
A connection from
connectGaia().- cdmSchema
Schema of the CDM (for example
"omopgis").- clear
If
TRUE, first emptyworking.locationandworking.location_history.