Skip to contents

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

Usage

get_raw_data(file = NULL)

Arguments

file

(optional) A character vector specifying the raw data file name(s) to retrieve. If NULL, returns all available raw data file names (default: NULL).

Value

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

See also

Other utility functions: aggregate_index(), find_epoch()

Examples

get_raw_data()
#> [1] "acttrust.txt"

get_raw_data("acttrust.txt")
#> [1] "/home/runner/work/_temp/Library/actverse/extdata/acttrust.txt"