combineCSV: Combine .csv Files

Description Usage Arguments Examples

View source: R/ImportFunctions.R

Description

Use this function to read in a series of .csv files and transform them into one data.frame. Make sure to save the output to a data.frame. See Examples for more.

Usage

1
combineCSV(fpath, dataname = NULL, headers = F)

Arguments

fpath

The direcotry that contains all of the .csv files to be combined.

dataname

The name you would like the combined .csv output data.frame to have.

headers

Default value is FALSE. If you have column names, or Headers on each of your files, set to TRUE.

Examples

1
dat <- combineCSV(fpath = getwd(), dataname = newdf)

sccastro/DRTr documentation built on May 17, 2019, 1:15 a.m.