bulletchartr comes bundled with a number of sample files in its `inst/extdata` directory. This function make them easy to access. Taken from 'readr' package.

read_example(path = NULL)

Arguments

path

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

Examples

read_example()
#> [1] "bc_ex.rda" "bc_ex_TC.rda" #> [3] "Indicators_Targets.xlsx" "Indicators_Targets_ext.xlsx" #> [5] "Indicators_Targets_full.xlsx" "test.xlsx"
read_example("Indicators_Targets.xlsx")
#> [1] "C:/Users/Ryo Nakagawara/AppData/Local/Temp/RtmpG2A97b/temp_libpath2a8468de7c77/bulletchartr/extdata/Indicators_Targets.xlsx"