files_join: Merge Multiple Files

View source: R/files_join.R

files_joinR Documentation

Merge Multiple Files

Description

Merges multiple files located in the same directory into a single data frame

Usage

files_join(
  path = "",
  pattern = "",
  delim = ",",
  id = "Subject",
  output_file = ""
)

Arguments

path

Folder location of files to be merged

pattern

Pattern string to identify files to be merged

delim

Delimiter used in files. Passed onto 'readr::read_delim()'

id

Subject ID variable name. Passed onto 'plyr::join_all(by = id)'

output_file

File name and path to be saved to


dr-JT/workflow documentation built on March 19, 2024, 7:51 p.m.