remove_cansim_cached_tables: Remove cached cansim SQLite and parquet database

remove_cansim_cached_tablesR Documentation

Remove cached cansim SQLite and parquet database

Description

Remove cached cansim SQLite and parquet database

Usage

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

## Not run: 
con <- get_cansim_connection("34-10-0013", format="parquet")
remove_cansim_cached_tables("34-10-0013", format="parquet")

## End(Not run)

mountainMath/cansim documentation built on March 29, 2025, 3:17 p.m.