- fileNames
(character) provide either explicit list of file-names to be read or leave NULL
for reading all files ending with 'xlsx' in path specified with argument path
- path
(character) there may be a different path for each file
- fileExtension
(character) extension of files (default='xlsx
')
- excludeFiles
(character) names of files to exclude (only used when reading all files of given directory)
- sheetInd
(character or integer) specify which sheet to extract (as exact name of sheed or sheet-number, eg sheetInd=2
will extract always the 2nd sheet (no matter the name); if given as sheet-name but nor present in file an empty list-elements wil be returned
- checkFormat
(logical) if TRUE
: check header, remove empty columns, if rownames are increasing integeres it will searh for fisrt column with different entries to use as rownames
- returnArray
(logical) allows switching from array to list-output
- columns
(NULL or character) column-headers to be extracted (if specified, otherwise all columns will be extracted)
- simpleNames
(integer), if NULL
all characters of fileNames will be maintained, otherwise allows truncating names (from beginning) to get to variable part (using .trimLeft()), but keeping at least the number of charcters indicated by this argument
- silent
(logical) suppress messages
- debug
(logical) display additional messages for debugging
- callFrom
(character) allows easier tracking of messages produced