damr_example {damr}R Documentation

Get path to damr example

Description

damr comes with a sample DAM2 files in its inst/extdata directory. damr_example allow make them easy to access.

Usage

damr_example(path = NULL)

damr_example_dir()

Arguments

path

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

Author(s)

Hadley Wickham (modified from readr)

Examples

# list all files
damr_example()
# get path to one file
damr_example("M014.txt")
# get the directory wih all the files
damr_example_dir()

[Package damr version 0.3.7 Index]