is_one2one: Check data frame columns for one-to-one relationship.

View source: R/db_tools.R

is_one2oneR Documentation

Check data frame columns for one-to-one relationship.

Description

Returns TRUE if all chosen columns are one-to-one and FALSE otherwise. A message gives the first column found with a many-to relationship with another column.

Usage

is_one2one(df, ...)

Arguments

df

A data frame.

...

Two or more columns to be compared either by name (quoted or unquoted) or integer positions.


jedwards24/edwards documentation built on Sept. 2, 2023, 8:16 a.m.