mixed_group_check: Find parents with two or more different child values in the...

Description Usage Arguments Value Examples

View source: R/mixed_group_check.R

Description

Produces a list of parents which have more than one distinct child value and the number of children. It will filter out any parents with only one child value. This is useful in finding issues where the same parent has different values on the children : for example where all products should have the same colour description

Usage

1
mixed_group_check(data_frame, parent_column, child_column)

Arguments

data_frame

a data frame to check

parent_column

the parent column on the data frame

child_column

the child column to check

Value

A data frame containing parents where there is more than 1 child value and the number of occurances.

Examples

1

MarkGoble/mishMashr documentation built on Oct. 12, 2020, 8:24 p.m.