Applies consistency checks to data concerning the combinations of columns that should be unique in combination. In concrete:

report_all_duplicate_kinds(data, composite_unique_cols, throw_error = TRUE)

Arguments

data

A tibble.

composite_unique_cols

A vector of names of columns that shall be unique in their combination.

throw_error

Boolean, if TRUE error is thrown on failures, otherwise a warning.

Value

input data.

Details

  1. it is checked if there are duplicate rows.

  2. it is checked if there are duplicate rows on composite_unique_cols.