get_excel_tables: List Excel tables in a workbook

View source: R/read_functions_excel.R

get_excel_tablesR Documentation

List Excel tables in a workbook

Description

get_excel_tables() is similar to getTables() but returns more information.

Usage

get_excel_tables(wb, sheets = NULL)

Arguments

wb

A workbook object

sheets

Character vector of sheet names to list tables from. If NULL, lists all sheets.

Value

A tibble with the worksheet, table name, and cell references.

See Also

Other Read Excel tables: read_excel_table()

Examples

example_file <- system.file("examples/excel_examples.xlsx", package = "costmisc")

wb <- openxlsx::loadWorkbook(example_file)
get_excel_tables(wb)


Technomics/costmisc documentation built on Nov. 12, 2024, 8:05 a.m.