Skip to contents

"Unflattening" selected columns to a table with more rows

Usage

renormalizeColumns(x, .map, .keys)

Arguments

x

a data.frame

.map

has format list(foreign_key = list(primary_key = vector_of_column_defining_unique_record))

.keys

has formatlist(new_column_name = vector_of_old_column_names)