import_SLSsum: Import Uncle Tm/Tagg SLS summary into R

Description Usage Arguments Value

View source: R/SLS.R

Description

import_SLSsum

Usage

1
2
3
4
5
6
7
import_SLSsum(
  directory_path,
  pattern = "SLS Sum",
  sheet = NULL,
  header = FALSE,
  combine = TRUE
)

Arguments

directory_path

a path to a directory containing the exported .xlsx files

pattern

a regex pattern for further selecing files in the directory; defaults to "SLS Sum"

sheet

character string to specify sheet if multi-sheet workbook is exported

header

if TRUE skips first 4 rows of .xlsx file to remove Uncle header; default is FALSE

combine

if TRUE, returns all imported data merged into one unified dataframe with an "origin" column listing the original file path, FALSE will return a list of dataframes; default is TRUE

Value

a named (with filename) list of dataframes or a single merged dataframe


eric-hunt/uncleR documentation built on Dec. 20, 2021, 5:28 a.m.