R: Get path to readr example

readr_example {readr} | R Documentation

## Get path to readr example

### Description

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

### Usage

    readr_example(path = NULL)

### Arguments

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

### Examples

    readr_example()
    readr_example("challenge.csv")

[Package readr version 1.3.1 Index]