cas_archive | R Documentation |
Archive originals of downloaded files in compressed folders
cas_archive(
path = NULL,
file_format = "tar.gz",
index = TRUE,
contents = TRUE,
remove_original = TRUE,
db_connection = NULL,
db_folder = NULL,
...
)
path |
Path to archive directory, defaults to NULL. If NULL, path is set to the project/website/archive folder. |
file_format |
Defaults to "tar.gz", to ensure cross-platform compatibility. No other formats are supported at this stage. |
remove_original |
Defaults to TRUE. If TRUE, after local files have been confirmed to be stored in the relevant compressed file, they are removed from their original folders, and the empty folders deleted. |
db_connection |
Defaults to NULL. If NULL, uses local SQLite database. If given, must be a connection object or a list with relevant connection settings (see example). |
... |
Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.