Skip to contents
loading...

Get the full path to so example datasets included in different formats in the "data.io" package.

Usage

data_example(path)

Arguments

path

The subpath to a file inside the "extdata" subdirectory of the "data.io" package.

Value

The path to the file, or "" if it is not found.

See also

Author

Philippe Grosjean phgrosjean@sciviews.org

Examples

data_example("iris.csv")
#> [1] "/home/runner/work/_temp/Library/data.io/extdata/iris.csv"