Skip to contents

Projects a Betwixt candidate or reviewed dataset into the canonical assertion representation.

The projection preserves the order of rows, fields, and pipe-separated values in the supplied dataset. row_id identifies the originating wide-form tuple. assertion_id identifies the position of the assertion in the canonical long projection.

Dataset identity is represented with row_id = 0. Domain assertions, input-to-subject relations, contextual statements, and row comments are assigned distinct components.

Range and definition columns describe candidate fields and are not themselves projected as assertions. Review-state columns such as qualifications, finalisation, and outcomes are likewise not domain assertions.

Usage

review_pivot_longer(x)

Arguments

x

A Betwixt candidate or reviewed data frame.

Value

A tibble with columns row_id, assertion_id, component, subject, predicate, and value.