View source: R/cas_delete_corpus.R
cas_delete_corpus | R Documentation |
cas_write_corpus()
.Typically used for file maintainance, especially when datasets are routinely updated.
cas_delete_corpus(
keep = 1,
ask = TRUE,
file_format = "parquet",
partition = "year",
token = "full_text",
corpus_folder = "corpus",
path = NULL,
...
)
keep |
Numeric, defaults to 1. Number of corpus files to keep. Only the most recent files are kept. |
file_format |
Defaults to "parquet". Currently, other options are not implemented. |
partition |
Defaults to NULL. If NULL, the parquet file is not
partitioned. "year" is a common alternative: if set to "year", the parquet
file is partitioned by year. If a |
token |
Defaults to "full_text", which does not tokenise the text
column. If different from |
path |
Defaults to NULL. If NULL, path is set to the project/website/export/dataset/file_format folder. |
... |
Passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.