Compares current data against its committed reference snapshot. When both snapshots are keyed with the same key columns, returns a cell-level diff. Otherwise falls back to structural comparison.
Examples
df <- key(data.frame(id = 1:3, x = c("a", "b", "c")), id)
df <- stamp(df)
# Modify the data
df$x[1] <- "modified"
check_drift(df)