View source: R/multiline_excel.R
read_excel_multiline | R Documentation |
read multiline excel files
read_excel_multiline(filename, row_collapse = 1, ...)
filename |
excel filename |
row_collapse |
number of rows to collapse |
... |
additional parameter(s) passed on to readxl::read_excel |
This function reads multiline Excel files using the solution proposed by brianwdavis.
tibble with the column names from multiple lines
See the solution proposed by brianwdavis: https://github.com/tidyverse/readxl/issues/486#issuecomment-398224438
read_excel
## Not run:
# 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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.