Tries to use 'readxl'
package or 'pandas'
to read data frame.
Usage
read_xlsx(
path,
sheet = NULL,
method = c("auto", "pandas", "readxl"),
n_max = Inf,
...
)
Arguments
- path
'xlsx'
file path- sheet
either a character or an integer of which spread-sheet to read; the number starts from
1
- method
which method to use for reading the
'xlsx'
file; choices are'auto'
(automatically find proper method),'pandas'
(usepandas.read_xlsx
), or'readxl'
(use the corresponding R package)- n_max
maximum number of rows (excluding headers) to read
- ...
passed to 'Python' function
pandas.read_xlsx
orreadxl::read_excel
, depending onmethod
Value
A data.frame
table