Zips all files in the given export directory into a single ZIP file. Use this
after exportPregnancies() and, if applicable, after writing PET
comparison tables to the same folder, so the archive includes both shareable
CSVs and PET comparison outputs.
Arguments
- exportFolder
(
character(1)) Path to the export folder (contents will be zipped).- zipPath
(
character(1)orNULL) Full path for the output ZIP file. IfNULL, the ZIP is created insideexportFolderwith a name likeYYYY-MM-DD-version-results.zip(using today's date and package version). SupplyzipPathfor a custom name (e.g. including your CDM name).
