check_derived: Check Derived

View source: R/Standardization.R

check_derivedR Documentation

Check Derived

Description

Check Derived

Usage

check_derived(x, key, derived_col, na.rm = FALSE)

Arguments

x

the data frame to be checked

key

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

derived_col

check whether this variable only varies with the primary key

na.rm

whether to ignore na derived columns

Details

A derived column is one that could be consolidated only to the primary keys and the derived column

Value

True if the derived_col varies only with primary key.


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