Skip to contents

Check or set the datasets Folder

Usage

mockDatasetsFolder(path = NULL)

Arguments

path

Path to a folder to store the synthetic datasets. If NULL the current OMOP_DATASETS_FOLDER is returned.

Value

The dataset folder.

Examples

# \donttest{
mockDatasetsFolder()
#> [1] "/tmp/RtmpSUewjy"
mockDatasetsFolder(file.path(tempdir(), "OMOP_DATASETS"))
#>  Creating /tmp/RtmpSUewjy/OMOP_DATASETS.
mockDatasetsFolder()
#> [1] "/tmp/RtmpSUewjy/OMOP_DATASETS"
# }