Download the Eunomia data files from https://github.com/OHDSI/EunomiaDatasets
downloadEunomiaData(
datasetName,
cdmVersion = "5.3",
pathToData = Sys.getenv("EUNOMIA_DATA_FOLDER"),
overwrite = FALSE,
verbose = FALSE
)
The data set name as found on https://github.com/OHDSI/EunomiaDatasets. The data set name corresponds to the folder with the data set ZIP files
The OMOP CDM version. This version will appear in the suffix of the data file, for example: <datasetName>_<cdmVersion>.zip. Default: '5.3'
The path where the Eunomia data is stored on the file system., By default the value of the environment variable "EUNOMIA_DATA_FOLDER" is used.
Control whether the existing archive file will be overwritten should it already exist.
Provide additional logging details during execution.
Invisibly returns the destination if the download was successful.
if (FALSE) {
downloadEunomiaData("GiBleed")
}