is_id: Do the claimed variables identify rows?

Description Usage Arguments Value

View source: R/uniqueness.r

Description

Just like Stata's isid.

Usage

1
is_id(df, ..., notifier = base::warning)

Arguments

df

A dataframe to test

...

Variable names, following dplyr::select rules

notifier

A function to report conditions you wouldn't want in an ID variable (Defaults to base::warning. Other reasonable options might be base::stop to escalate issues or base::force to not report them.)

Value

TRUE/FALSE for ID-ness


karldw/kdw.junk documentation built on Dec. 24, 2018, 1:07 a.m.