parseFilenames: Split a file name by '.' or '_' or '-'

Description Usage Arguments Details Value

Description

Split a file name by '.' or '_' or '-'

Usage

1
parseFilenames(fileTibble, splitcols, sortcols)

Arguments

fileTibble

a tibble that contains file names in a column called sName

splitcols

a character vector containing the column names of the split. Any column whose name starts with 'XX' will be discarded before returning the tible

sortcols

a character vector containing the columns to be used for sorting and comparison for duplicate runs (basically different batches but same file name)

Details

Every filename and splits it by one of three characters ('.' or '_' or '-').

Value

a tibble with strings split from the file name and two more columns added one indicating the run time of the file and the other indicating the batch number if the information in the tibble is otherwise identical


SiggiSmara/ShinyFIAMSSS documentation built on May 25, 2019, 7:25 p.m.