files_bind: Bind multiple files into one file

View source: R/files_bind.R

files_bindR Documentation

Bind multiple files into one file

Description

This function binds multiple files together. 'bind' can occur by "rows" or "columns"

Usage

files_bind(
  path = "",
  pattern = "",
  delim = ",",
  output.delim = ",",
  output.file = "",
  bind = "rows",
  guess_max = 1000
)

Arguments

path

Folder location of files to be merged

pattern

Pattern to identify files to be merged

delim

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

output.file

File name and path to be saved to.

guess_max

Maximum

Examples

files_bind(path = "./Data", pattern = ".txt")

dr-JT/datawrangling documentation built on June 25, 2022, 7:47 p.m.