Skip to contents

Attach a column of data to the change-log describing the type of change the user made. See: cdr_label_chg_log_activity()

Usage

cdr_attach_activity(chg_log, key_field = "UID")

Arguments

chg_log

a change-log tibble pulled from the DB

key_field

the field in the primary table that contains the unique-ID for each observation

Value

the change-log tibble with activity type attached

Examples

if (FALSE)  cdr_attach_activity(chg_log, 'UID')