readr_example: Get path to readr example

View source: R/example.R

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

Arguments

file

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

Examples

readr_example()
readr_example("challenge.csv")

readr documentation built on May 29, 2024, 2:37 a.m.