confirm_distinct: Confirm Distinct

Description Usage Arguments Value Examples

View source: R/confirm_distinct.R

Description

Confirm whether the rows of a data frame can be uniquely identified by the keys in the selected columns. Also reports whether the dataframe has duplicates. If so, it is best to remove duplicates and re-run the function.

Usage

1

Arguments

.data

A dataframe

...

(ID) columns

Value

a Logical value invisibly with description printed to console

Examples

1
iris %>% confirm_distinct(Species, Sepal.Width)

validata documentation built on Oct. 5, 2021, 9:08 a.m.