Skip to contents

Find columns that have all unique values. If there are no identified columns, it will return NA.

Usage

cols_all_unique(data)

Arguments

data

The data frame

Value

A character vector of column names with all unique values.

Examples

cols_all_unique(ChickWeight)
#> → No columns with all unique values.
#> [1] NA