Verify that row data are not duplicated (deprecated)
rows_not_duplicated(
x,
columns = NULL,
preconditions = NULL,
brief = NULL,
actions = NULL
)
An agent object of class ptblank_agent
.
The column (or a set of columns, provided as a character vector) to which this validation should be applied.
expressions used for mutating the input table before
proceeding with the validation. This is ideally as a one-sided R formula
using a leading ~
. In the formula representation, the tbl
serves as the
input data table to be transformed (e.g.,
~ tbl %>% dplyr::mutate(col = col + 10)
. A series of expressions can be
used by enclosing the set of statements with { }
but note that the tbl
object must be ultimately returned.
An optional, text-based description for the validation step.
A list containing threshold levels so that the validation step
can react accordingly when exceeding the set levels. This is to be created
with the action_levels()
helper function.
A ptblank_agent
object.