readr (version 2.1.5)

readr_example: 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(file = NULL)

Arguments

file

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

Examples

Run this code
readr_example()
readr_example("challenge.csv")

Run the code above in your browser using DataLab