raw_data: Get paths to 'mctq' raw datasets

View source: R/raw_data.R

raw_dataR Documentation

Get paths to mctq raw datasets

Description

[Maturing]

mctq 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 returned (default: NULL).

Value

If file == NULL, a character object with all file names available. Else, a string with the file name path.

See Also

Other utility functions: pretty_mctq(), random_mctq()

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("std_mctq.csv")
## End(Not run)

gipso/mctq documentation built on Dec. 15, 2024, 7:09 a.m.