readxl comes bundled with some example files in its inst/extdata
directory. This function make them easy to access.
readxl_example(path = NULL)
path | Name of file. If |
---|
readxl_example()#> [1] "clippy.xls" "clippy.xlsx" "datasets.xls" "datasets.xlsx" #> [5] "deaths.xls" "deaths.xlsx" "geometry.xls" "geometry.xlsx" #> [9] "type-me.xls" "type-me.xlsx"readxl_example("datasets.xlsx")#> [1] "/Users/runner/runners/2.262.1/work/_temp/Library/readxl/extdata/datasets.xlsx"