
Repartitions a cached cansim table to a new partitioning scheme
Source:R/cansim_parquet.R
cansim_repartition_cached_table.Rd
Repartitions and already downloaded and cached parquet or feather dataset
Arguments
- cansimTableNumber
the NDM table number to load
- new_partitioning
(Optional) Partition columns to use for parquet or feather formats.
- language
"en"
or"english"
for English and"fr"
or"french"
for French language versions (defaults to English)- format
(Optional) The format of the data table to retrieve. Either
"parquet"
,"feather"
, orsqlite
(default is"parquet"
).- cache_path
(Optional) Path to where to cache the table permanently. By default, the data is cached in the path specified by `getOption("cansim.cache_path")`, if this is set. Otherwise it will use `tempdir()`.
Examples
if (FALSE) { # \dontrun{
cansim_repartition_cached_table("34-10-0013",new_partitioning=c("GeoUID"))
} # }