cas_set_options | R Documentation |
Your project folder can be anywhwere on your file system. Considering that
this is where possibly a very large number of html files will be downloaded,
it is usually preferrable to choose a location that is not included in live
backups. These settings determine the names given to these hierarchical
folders: website
folder will be under project
folder which will be under
the base_folder
.
cas_set_options(
project = NULL,
website = NULL,
use_db = TRUE,
base_folder = NULL,
db_type = "SQLite",
db_folder = NULL
)
project |
Defaults to NULL. Project name, can be set once per session
with |
website |
Defaults to NULL. Website name, can be set once per session
with |
use_db |
Defaults to TRUE. If TRUE, stores information about the download process and extracted text in a local database. |
base_folder |
Defaults to NULL, can be set once per session with
|
db_folder |
Defaults to NULL. can be set once per session with
|
Nothing, used for its side effects (setting options).
Other settings:
cas_get_options()
cas_set_options(base_folder = fs::path(fs::path_temp(), "castarter_data"))
cas_options_list <- cas_get_options()
cas_options_list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.