Learn R Programming

DCC (version 1.2.1)

dcc_report_model: Build and validate the normalized report model

Description

Creates the single normalized source of facts consumed by staff, statistical, and machine report renderers. The constructor copies source objects and verifies counts, finding identities, hashes, and timings.

Usage

dcc_report_model(result, run = NULL)

dcc_validate_report_model(x)

Value

dcc_report_model() returns a versioned dcc_report_model list. dcc_validate_report_model() returns a structured dcc_validation table with stable error codes.

Arguments

result

A dcc_result returned by dcc_execute().

run

An optional dcc_run containing run and plan metadata.

x

A report-model-like named list to validate.