check_key: Check Key

View source: R/Standardization.R

check_keyR Documentation

Check Key

Description

Check Key

Usage

check_key(x, key)

Arguments

x

the data frame to be checked

key

list of one or more column names that are suspected to be the key

Details

This function is uesed to check if a provided set of columns act as unique identifiers. This is often particularly valuable before merging two sets of tables, though it has a variety of other uses.

Value

True if the columns are unique identifiers, false with warning otherwise.


CSISdefense/csis360 documentation built on April 29, 2024, 5:30 p.m.