Usage
readWorkbook(xlsxFile, sheet = 1, startRow = 1, colNames = TRUE, rowNames = FALSE, detectDates = FALSE, skipEmptyRows = TRUE, rows = NULL, cols = NULL, check.names = FALSE, namedRegion = NULL)
Arguments
sheet
The name or index of the sheet to read data
startRow
first row to begin looking for data. Empty rows at the top of a file are always skipped,
regardless of the value of startRow.
colNames
If TRUE
, first row of data will be used as column names.
rowNames
If TRUE
, first column of data will be used as row names.
detectDates
If TRUE
, attempt to recognise dates and perform conversion.
skipEmptyRows
If TRUE
, empty rows are skipped else empty rows after the first row containing data
will return a row of NAs
rows
A numeric vector specifying which rows in the Excel file to read.
If NULL, all rows are read.
cols
A numeric vector specifying which columns in the Excel file to read.
If NULL, all columns are read.
check.names
logical. If TRUE then the names of the variables in the data frame
are checked to ensure that they are syntactically valid variable names
namedRegion
A named region in the Workbook. If not NULL startRow, rows and cols paramters are ignored.