validateNameLevel: Validate if two columns are valid Name-Level pair.

View source: R/classSummarisedResult.R

validateNameLevelR Documentation

Validate if two columns are valid Name-Level pair.

Description

Validate if two columns are valid Name-Level pair.

Usage

validateNameLevel(
  x,
  prefix,
  sep = " &&& ",
  validation = "error",
  call = parent.frame()
)

Arguments

x

A tibble.

prefix

Prefix for the name-level pair, e.g. 'strata' for strata_name-strata_level pair.

sep

Separation pattern.

validation

Either 'error', 'warning' or 'message'.

call

Will be used by cli to report errors.


omopgenerics documentation built on Sept. 30, 2024, 9:16 a.m.