source_sheets: Sheet names of an Excel workbook

View source: R/read_source.r

source_sheetsR Documentation

Sheet names of an Excel workbook

Description

Sheet names of an Excel workbook

Usage

source_sheets(path)

Arguments

path

Path to an Excel file.

Value

Character vector, in workbook order.

Examples

df <- data.frame(id = sprintf("AB%03d", 1:6), value = 1:6)
path <- file.path(tempdir(), "source_sheets.xlsx")
sheets <- list(Subjects = df, Codes = data.frame(code = c(0, 1)))
openxlsx::write.xlsx(sheets, path, overwrite = TRUE)
source_sheets(path)

cellsynth documentation built on Oct. 31, 2026, 1:07 a.m.