saveCohortMethodData saves an object of type cohortMethodData to folder.

saveCohortMethodData(cohortMethodData, file, compress = FALSE)

Arguments

cohortMethodData

An object of type cohortMethodData as generated using getDbCohortMethodData.

file

The name of the folder where the data will be written. The folder should not yet exist.

compress

Should compression be used when saving?

Details

The data will be written to a set of files in the folder specified by the user.