List the file name(s) or file paths of imdccal's example data
use_example_data.Rd
List the file name(s) or file paths of imdccal's example data
Value
If file_names is supplied, use_example_data()
returns the full file path to the requested package data.
Otherwise, it returns the file names of example data.
Examples
# List all example data file names
use_example_data()
#> [1] "SPAC_080199.xlsx" "SPAC_081599.xlsx"
# Find file path to one example data file
use_example_data(file_names = "SPAC_080199.xlsx")
#> [1] "/home/runner/work/_temp/Library/imdccal/extdata/SPAC_080199.xlsx"
# Find file path to all example data files
use_example_data(file_names = use_example_data())
#> [1] "/home/runner/work/_temp/Library/imdccal/extdata/SPAC_080199.xlsx"
#> [2] "/home/runner/work/_temp/Library/imdccal/extdata/SPAC_081599.xlsx"