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

merge_and_export_fst(
  time_pattern = NULL,
  compression = 100,
  import_dir = package_file("shiny/berlin_t/data/fst"),
  export_dir = package_file("shiny/berlin_t/data")
)

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: kwb.pilot:::package_file("shiny/berlin_t/data/fst"))

export_dir

directory with fst directory for export (default: kwb.pilot:::package_file("shiny/berlin_t/data"))

Value

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