is_key: Check if variables are distinct

Description Usage Arguments Value

View source: R/find_keys.R

Description

Check if a combination of variable(s) uniquely identify rows of a table.

Usage

1
2
3
is_key(.data, ...)

is_key_(.data, ..., .dots)

Arguments

.data

a tbl

...

Variables to check whether they are keys

.dots

Used to work around non-standard evaluation. See vignette("nse") for details.

Value

TRUE if the variables jointly identify all rows, and FALSE otherwise.


jrnold/rubbish documentation built on May 20, 2019, 2:05 a.m.