[Maturing]

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

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: aggregate_index(), find_epoch(), read_acttrust(), write_acttrust()

Examples

## To list all raw data file names available

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

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

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