unique_id: Unique ID determination in data.frame

View source: R/unique_id.R

unique_idR Documentation

Unique ID determination in data.frame

Description

to check for unique identifiers in data.

Usage

unique_id(x, varnames, verbose = FALSE)

Arguments

x

data frame

varnames

character vector of variable names.

verbose

if TRUE the function returns a message about whether the variables are a unique identifier or not.

Value

logical value representing whether the two variables determine a unique identifier for the data


pietroreggiani/RmyTools documentation built on May 23, 2022, 5:24 p.m.