rules_catalog: Rule catalog helpers

View source: R/rules.R

rules_catalogR Documentation

Rule catalog helpers

Description

The catalog is an original implementation of publicly described expectations. Messages are not copied from Pinnacle 21 or from CDISC conformance-rule publications. Supported check types are dataset_required, variable_required, codelist, iso8601, key_unique, one_to_one, nonmissing, and regex.

Usage

rules_catalog(standard = NULL)

explain_rule(rule_id)

add_custom_rules(rules, catalog = rules_catalog())

severity_levels()

Arguments

standard

Optional filter: "SDTM", "SEND", "ADaM", "XPT", or "TRC".

rule_id

Rule identifier, such as "SDTM024".

rules

Data frame of additional rules with the catalog columns.

catalog

Catalog to extend. Defaults to rules_catalog().

Value

rules_catalog and explain_rule return a data frame. add_custom_rules returns the combined catalog. severity_levels returns a character vector.

Examples

head(rules_catalog("SDTM"))
explain_rule("SDTM024")
severity_levels()

openstudyval documentation built on Oct. 21, 2026, 5:14 p.m.