get_unique_variables_by_level: Find which variables are unique at a given level in...

View source: R/helper_functions.R

get_unique_variables_by_levelR Documentation

Find which variables are unique at a given level in hierarchical data

Description

Find which variables are unique at a given level in hierarchical data

Usage

get_unique_variables_by_level(data, ID_label, superset = NULL)

Arguments

data

a data.frame

ID_label

the ID label to split upon

superset

Superset contains a vector of character strings that contain variables the modify level call is going to write. Some of these may be columns in the data frame, others might not be. If superset is specified, then we definitely only want to check those variables

Value

a character vector enumerating the unique variables


DeclareDesign/fabricatr documentation built on Jan. 31, 2024, 4 a.m.