read_data: Read and join data from multiple csv files

Description Usage Arguments Details Value See Also

Description

read_data takes a directory and file name and reads in all matching csv files and binds them together into a data frame

Usage

1
read_data(data.dir, file.name, base = FALSE, check.distinct = TRUE)

Arguments

data.dir

A character string with the name of the directory containing the data files

file.name

A character string with name of data file or pattern to match

base

An optional logical, if TRUE then the base function read.csv will be used

check.distinct

An optional logical, calls distinct on the imported data if TRUE

Details

This function takes a directory and file name and reads in all matching csv files and binds them together into a data frame.

Value

A data frame

See Also

read.csv read_csv


bgulbis/BGTools documentation built on May 12, 2019, 8:21 p.m.