This function will automatically copy files from the Task directory to the Raw data directory

copy_raw(
  from,
  to,
  filetype,
  sub_folder = NULL,
  task_dir.names = "numbered",
  remove = FALSE,
  copy = TRUE
)

Arguments

from

a directory of task folders

to

a directory where raw data files are to be copied to

filetype

a string pattern identifying a specific type of raw data file (e.g. .edat2).

sub_folder

optional. do you want to copy files to a sub folder within the `to = ` directory?

task_dir.names

Relationship between task name and task folder name. Default is "numbered". Alternative options are; "asis".

remove

logical. Should the files in the 'from' directory be deleted? (Default: FALSE)

copy

logical. Do you want to copy the files? (Default = TRUE)