bulk_import: bulk import function

Description Usage Arguments Value Author(s) Examples

Description

A function to import multiple .txt or .csv files into R.

Usage

1
bulk_import(folder_path, merge = FALSE, file_type = "txt")

Arguments

folder_path

= path of the file containing the raw data (i.e. 1, and 0's not "YES" and "NO"). The file format currently accepted is .csv and .txt

merge:

Can take on either two values. False: (the default) returns all imported datasets. TRUE: bulk_import attempts to return a single file containing all of the individual datasets. This currently only works if all datasets contain all of the same variables.

Value

Returns individual loaded dataset OR a single combined dataset and the raw labels.

Author(s)

Jordan L. Prendez, jordanprendez@gmail.com

Examples

1
2
bulk_import(folder_path = "C:/Users/jprendez/Desktop/bulk_import2", merge=TRUE, file_type="txt")
bulk_import()

nietsnel/inst.research documentation built on May 23, 2019, 6 p.m.