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

meltr_example(file = NULL)

Arguments

file

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

Value

A file path or a vector of file names

Examples

meltr_example()
#> [1] "epa78.txt"         "fwf-sample.txt"    "massey-rating.txt"
#> [4] "mtcars.csv"       
meltr_example("mtcars.csv")
#> [1] "/home/runner/work/_temp/Library/meltr/extdata/mtcars.csv"