joinrelationship: Cardinality of a join key relationship

View source: R/primitives.R

joinrelationshipR Documentation

Cardinality of a join key relationship

Description

Uniqueness is checked across all rows of each input, including unmatched keys. Repeated missing keys are treated as duplicates. This describes the inputs, rather than only the keys that would match in a join.

Usage

joinrelationship(x, y, by)

Arguments

x

An atomic vector.

y

An atomic vector, data.frame, or basetable, depending on the function.

by

Character vector of column names identifying groups or join keys.

Value

One of "one-to-one", "one-to-many", "many-to-one", "many-to-many".


basetable documentation built on Nov. 14, 2026, 1:08 a.m.