Skip to contents

Read identifiers to be ignored from the local database

Usage

cas_read_db_ignore_id(
  db_connection = NULL,
  db_folder = NULL,
  index_group = NULL,
  disconnect_db = TRUE,
  ...
)

Value

A data frame with a single column, id

Examples

cas_set_options(
  base_folder = fs::path(tempdir(), "R", "cas_read_db_ignore_id"),
  db_folder = fs::path(tempdir(), "R", "cas_read_db_ignore_id"),
  project = "example_project",
  website = "example_website"
)
cas_enable_db()


cas_write_db_ignore_id(id = sample(x = 1:100, size = 10))
#>  Folder /tmp/Rtmp1QODEK/R/cas_read_db_ignore_id for storing project and
#>   website files created.
#>  10 identifiers added to ignore table.

cas_read_db_ignore_id()
#> # A tibble: 10 × 1
#>       id
#>    <dbl>
#>  1    85
#>  2    44
#>  3    61
#>  4    34
#>  5    70
#>  6    63
#>  7     4
#>  8    97
#>  9    35
#> 10    89