Skip to contents

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

Usage

merge_and_export_fst(
  time_pattern = NULL,
  compression = 100,
  import_dir = shiny_file("berlin_t/data/fst"),
  export_dir = shiny_file("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:::shiny_file("berlin_t/data/fst"))

export_dir

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

Value

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