Learn R Programming

OmopOnSpark (version 0.1.0)

mockSparkCdm: creates a cdm reference to local spark OMOP CDM tables

Description

creates a cdm reference to local spark OMOP CDM tables

Usage

mockSparkCdm(path)

Value

A cdm reference with synthetic data in a local spark connection

Arguments

path

A directory for files

Examples

Run this code
# \donttest{
if(sparklyr::spark_installed_versions() |> nrow() == 0){
folder <- file.path(tempdir(), "temp_spark")
cdm <- mockSparkCdm(path = folder)
cdm
}
# }

Run the code above in your browser using DataLab