is_key_variable: Test key variable validity

View source: R/logical-tests.R

is_key_variableR Documentation

Test key variable validity

Description

Tests if the denoted key variable identifies each observation uniquely.

Usage

is_key_variable(df, key.name, stop.if.false = FALSE)

Arguments

df

A data.frame.

key.name

Character value. The name of the key variable.

Value

TRUE or FALSE


kueckelj/confuns documentation built on July 4, 2024, 4:53 p.m.