Returns a corpus from the contents_data
table in the database; if corpus is give, it just returns that instead.
Source: R/cas_check_read_db_contents_data.R
cas_check_read_db_contents_data.Rd
Mostly used internally
Usage
cas_check_read_db_contents_data(
corpus = NULL,
collect = FALSE,
db_connection = NULL,
db_folder = NULL,
...
)
Arguments
- collect
Logical, defaults to FALSE. If TRUE, it always returns a data frame and not a database connection, no matter the input.
- ...
Passed to
cas_get_db_file()
.