Skip to contents

This creates a list that is used later for creating data validation rules when the data is exported.

Usage

with_value(
  operator = c("=", "==", ">=", "<=", "<", ">", "!="),
  value = NULL,
  between = NULL,
  not_between = NULL
)

Arguments

operator

Operator to apply.

value

An optional value related to operator

between, not_between

An optional numerical vector of size two where the first entry is the minimum value and the second entry is the maximum value. For between, the value is valid if within the range of minimum and maximum value inclusive. For not_between, the value must lie outside of these values.

Value

A list with two elements operator and value.