Description Usage Arguments Examples
View source: R/get_raw_text_from_xlsx.R
This function reads all (given) sheets of one Excel file into a list of
character matrices. The idea of this function is to return the content of the
Excel sheets as pure raw text information. No type conversion is performed.
Empty rows at the beginning are not skipped which is the default behaviour of
read_xlsx
that is called under the hood.
1 | get_raw_text_from_xlsx(file, sheets = NULL, dbg = TRUE)
|
file |
full path to Excel file |
sheets |
name(s) of sheet(s) to be read, in a vector of character. If
|
dbg |
if |
1 2 3 4 5 6 7 8 | # Path to example file
file <- system.file("extdata", "example.xlsx", package = "kwb.readxl")
# Read all sheets
sheet_text <- kwb.readxl::get_raw_text_from_xlsx(file)
# Have a look at the first rows of the first sheet
head(sheet_text$sheet_01)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.