trrrj comes bundled with a number of sample files in its `inst/extdata` directory. This function make them easy to access

trrrj_example(path = NULL)

Arguments

path

Name of file. If `NULL`, the example files will be listed.

Examples

trrrj_example()
#> [1] "1.201702051001tacop304ARCHIVED_OPLOG_ALL_CPR.gz" #> [2] "1.201702061001tacop304ARCHIVED_OPLOG_ALL_CPR.gz" #> [3] "20170205_flights.csv" #> [4] "20170205_positions" #> [5] "20170206_flights.csv" #> [6] "20170206_positions" #> [7] "TRAFFIC_20180630_reduced.so6"
trrrj_example("20170205_flights.csv")
#> [1] "/home/travis/build/euctrl-pru/trrrj/inst/extdata/20170205_flights.csv"