import_csv_multiple: General function; imports multiple raw data files based on a...

Description Usage Arguments

View source: R/import.R

Description

General function; imports multiple raw data files based on a pattern, only used for data of the same type (e.g. 'ogtt' or 'fattyacids').

Usage

1
2
import_csv_multiple(pattern, merge_direction = c("rows", "columns"),
  path = getOption("PROMISE.data.raw.path"))

Arguments

pattern

The file pattern to search for in the data-raw/ folder.

merge_direction

Whether to combine datasets by rows or by columns. This is highly situational... Mostly will need by rows.

path

Path to directory where the files are stored.


lwjohnst86/PROMISE.scrub documentation built on May 21, 2019, 9:01 a.m.