cas_reset_db_ignore_id | R Documentation |
Removes from the local database all identifiers included in the ignore list
cas_reset_db_ignore_id(db_connection = NULL, db_folder = NULL, ask = TRUE, ...)
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). |
ask |
Logical, defaults to TRUE. If set to FALSE, the relevant table will be deleted without asking for confirmation from the user. |
... |
Passed to |
cas_set_options(
base_folder = fs::path(tempdir(), "R", "cas_reset_db_ignore_id"),
db_folder = fs::path(tempdir(), "R", "cas_reset_db_ignore_id"),
project = "example_project",
website = "example_website"
)
cas_enable_db()
cas_write_db_ignore_id(id = sample(x = 1:100, size = 10))
cas_read_db_ignore_id()
cas_reset_db_ignore_id(ask = FALSE)
cas_read_db_ignore_id()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.