Skip to contents

Returns the complete column names recorded by audit_snapshot for a given snapshot label. Unlike ops_snapshot_cols, this helper does not exclude protected columns; it returns exactly the columns stored in the audit manifest.

Usage

audit_cols(audit, label)

Arguments

audit

A ukbflow_audit object created by audit_start.

label

(character) Snapshot label passed to audit_snapshot.

Value

A character vector of column names.

Examples

aud <- audit_start("example_analysis")
dt <- data.frame(eid = 1:3, x = c(1, NA, 3))
aud <- audit_snapshot(aud, dt, "raw", verbose = FALSE)
audit_cols(aud, "raw")
#> [1] "eid" "x"