Learn R Programming

DCC (version 1.2.1)

dcc_provenance: Provenance chain of a dcc_data object

Description

Returns the append-only provenance chain recording every stage the object has passed through (read, detect, execute, ...). This chain is the backbone of DCC's auditable-reporting guarantee: any dataset version can be traced back to its source file and rule versions. Legacy records containing only timestamp remain readable.

Usage

dcc_provenance(x)

Value

A data.table with one row per provenance record: stage, started_at, ended_at, outcome, dcc_version, and list-columns hashes, counts, and details.

Arguments

x

A dcc_data object.

Examples

Run this code
x <- dcc_data(data.frame(id = 1:2))
dcc_provenance(x)

Run the code above in your browser using DataLab