locate_data_files: Locate Raw Data Files from Longitudinal Illusory Truth Study

Description Usage Arguments Details Value

View source: R/preprocess.R

Description

Look in a subdirectory and find files containing the raw data.

Usage

1
locate_data_files(path, full.names = TRUE)

Arguments

path

Path to data files.

full.names

If ‘TRUE’, the directory path is prepended to the file names to give a relative file path. If ‘FALSE’, the file names (rather than paths) are returned.

Details

Looks for files matching the regular expression ^[Pp][1-4]\.[Cc][Ss][Vv]$ and performs basic error-checking.

Value

A character vector with the paths to the files.


truthiness documentation built on May 24, 2021, 9:07 a.m.