Learn R Programming

omock (version 0.4.0)

downloadMockDataset: Download an OMOP Synthetic dataset.

Description

Download an OMOP Synthetic dataset.

Usage

downloadMockDataset(
  datasetName = "GiBleed",
  path = mockDatasetsFolder(),
  overwrite = NULL
)

Value

The path to the downloaded dataset.

Arguments

datasetName

Name of the mock dataset. See `availableMockDatasets()` for possibilities.

path

Path where to download the dataset.

overwrite

Whether to overwrite the dataset if it is already downloaded. If NULL the used is asked whether to overwrite.

Examples

Run this code
# \donttest{
library(omock)

isMockDatasetDownloaded("GiBleed")
downloadMockDataset("GiBleed")
isMockDatasetDownloaded("GiBleed")
# }

Run the code above in your browser using DataLab