Helper function: merge and export fst files into main shiny data folder

merge_and_export_fst(time_pattern = NULL, compression = 100,
  import_dir = system.file("shiny/berlin_t/data/fst", package =
  "aquanes.report"), export_dir = system.file("shiny/berlin_t/data",
  package = "aquanes.report"))

Arguments

time_pattern

optional pattern to filter months to be imported (default: NULL), for using it do e.g. "2017-06|2017-07" or c("2017-06", "2017-07")

compression

compression for fst export (default: 100)

import_dir

directory with fst files or subdirs to be imported (default: system.file("shiny/berlin_t/data/fst",package = "aquanes.report"))

export_dir

directory with fst directory for export (default: system.file("shiny/berlin_t/data",package = "aquanes.report"))

Value

imports multiple fst files and exports them to be used for app