Download an OMOP Synthetic 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
# \donttest{
library(omock)
isMockDatasetDownloaded("GiBleed")
#> [1] FALSE
downloadMockDataset("GiBleed")
isMockDatasetDownloaded("GiBleed")
#> [1] TRUE
# }
