R/multiline_excel.R
read_excel_multiline.Rd
read multiline excel files
read_excel_multiline(filename, row_collapse = 1, ...)
excel filename
number of rows to collapse
additional parameter(s) passed on to readxl::read_excel
tibble with the column names from multiple lines
This function reads multiline Excel files using the solution proposed by brianwdavis.
See the solution proposed by brianwdavis: https://github.com/tidyverse/readxl/issues/486#issuecomment-398224438
if (FALSE) {
# example ---------------------------------------------------
#library(readxl)
#file_path <- "https://github.com/brianwdavis/public/raw/master/example.xlsx"
#download.file(file_path, "example.xlsx", mode = "wb")
#read_excel_multiline("example.xlsx", row_collapse = 2)
}