read.simple.xlsx | R Documentation |
Reads specified sheets from an XLSX file into a list of data frames. It allows customization of column names, row names, and trimming of white spaces.
read.simple.xlsx(
pfn = Stringendo::kollapse(...),
which_sheets,
col_names = TRUE,
row_names = FALSE,
trim_ws = TRUE,
...
)
pfn |
Path and filename of the XLSX file.
Default: Constructed using |
which_sheets |
Indices or names of sheets to read from the XLSX file. Default: All sheets. |
col_names |
Logical, whether to use the first row as column names. Default: TRUE. |
row_names |
Numeric, whether to convert a column to row names. Default: 1. Use 0 for no conversion. Default: FALSE. |
trim_ws |
Logical, whether to trim white spaces from column names. |
... |
Pass arguments to read.xlsx(). |
A list of data frames, each representing a sheet from the XLSX file.
read.xlsx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.