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/RtmpKZFKM9/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     7
#>  2    55
#>  3    33
#>  4    16
#>  5    19
#>  6    18
#>  7    38
#>  8    31
#>  9    72
#> 10    91