Skip to contents

Reads the diagnostics sheet — canonical name Komplexe Diagnostik. If missing, returns a 0-row data frame with a "source_label" attribute.

Usage

zhn_read_diagnostics(path, sheet = NULL, verbose = TRUE)

Arguments

path

Path to the .xlsx file (typically a fileInput() temp path or the bundled example, obtained via zhn_example_path()).

sheet

Optional sheet name to override the canonical/regex resolver.

verbose

Logical; emit a cli_inform when duplicate columns are detected.

Value

A data frame with cleaned names and a "source_label" attribute. 0-row if no diagnostics sheet exists.