Remove cached cansim SQLite and parquet database

remove_cansim_cached_tables(
  cansimTableNumber,
  format = c("parquet", "feather", "sqlite"),
  language = NULL,
  cache_path = getOption("cansim.cache_path")
)

Arguments

cansimTableNumber

Vector of the table(s) to be removed, or a (filtered) table as returned by `list_cansim_cached_tables` with the list of tables to be removed.

format

Format of cache to remove, possible values are `"parquet"`, `"feather"` or `"sqlite"` or a subset of these (the default is all of these)

language

Language for which to remove the cached data. If unspecified (`NULL`) tables for all languages will be removed.

cache_path

Optional, default value is `getOption("cansim.cache_path")`

Value

`NULL``

Examples

if (FALSE) {
con <- get_cansim_connection("34-10-0013", format="parquet")
remove_cansim_cached_tables("34-10-0013", format="parquet")
}