report_all_duplicate_kinds: Checks data for missings and duplicates

View source: R/utils.R

report_all_duplicate_kindsR Documentation

Checks data for missings and duplicates

Description

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

Usage

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.

Details

  1. it is checked if there are duplicate rows.

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

Value

input data.


2DegreesInvesting/r2dii.climate.stress.test documentation built on June 6, 2024, 8:23 a.m.