strip_metadata: Strip Report MetaData From Excel File

Description Usage Arguments Value Examples

View source: R/strip_metadata.R

Description

Strip Report MetaData From Excel File

Usage

1
strip_metadata(from, promote = NA, ...)

Arguments

from

the file path to the excel report.

promote

logical. Should first non-NA row be promoted to column names? Default tries to make a reasonable determination.

...

extra parameters to pass to the read_excel function

Value

a data frame containing the tabular data from the report

Examples

1
2
3
4
5
6
## Not run: 
strip_metadata("./man/example/example-report")
# specify a particular sheet
strip_metadata("my-excel-file.xlsx", sheet = "report summary")

## End(Not run)

excelstrippr documentation built on Jan. 13, 2021, 6:05 a.m.