raw_data: Get paths to 'refstudio' raw datasets

View source: R/raw_data.R

raw_dataR Documentation

Get paths to refstudio raw datasets

Description

[Maturing]

refstudio comes bundled with raw fictional datasets for testing and learning purposes. raw_data() makes it easy to access their paths.

Usage

raw_data(file = NULL)

Arguments

file

(optional) a character object indicating the raw data file name(s). If NULL, all raw data file names will be printed (default: NULL).

Value

  • If file = NULL, a character object with all file names available.

  • If file != NULL, a string with the file name path.

Examples

## Not run: 
## To list all raw data file names available

raw_data()

## To get the file path from a specific raw data

raw_data(raw_data()[1])
## End(Not run)

gipso/refstudio documentation built on Sept. 29, 2023, 10:49 a.m.