Skip to contents

Creates a diagnostic rule that evaluates whether a data cube contains missing years. The rule counts the number of missing years present in the cube and compares it to a threshold to determine the severity level.

Usage

rule_temporal_missing_years(
  thresholds = c(ok = 0, note = 1, important = 3, very_important = NULL)
)

Arguments

thresholds

Named numeric vector with severity thresholds: ok, note, important, very_important. Defaults are used if not provided.

Value

An object of class cube_rule.