Build a ZIP archive containing the corpus RDS, certificate, figures, tables, and an auto-generated README. This is the "send everything to a collaborator" workflow.
Examples
# \donttest{
corpus <- sm_example_corpus(n_works = 10)
path <- tempfile(fileext = ".zip")
sm_export_zip(corpus, path, include = c("rds", "certificate"))
#> ✔ Corpus saved to /tmp/RtmpicujyO/scimapR-bundle-1c546dbf7cdc/corpus.rds
#> ✔ Certificate written to
#> /tmp/RtmpicujyO/scimapR-bundle-1c546dbf7cdc/certificate.yaml.
#> ✔ Certificate created. Corpus hash: 9d07b9f407dd
#> ✔ Bundle saved to /tmp/RtmpicujyO/file1c546f624f73.zip
# }