Supplement a supertibble from a longitudinal database with information about the events associated with each instrument
add_event_mapping(supertbl, linked_arms, repeat_event_types)
supertbl
: a supertibble object to supplement with metadatalinked_arms
: the tibble with event mappings created by link_arms()
repeat_event_types
: a dataframe output from get_repeat_event_types()
which specifies NR, RS, and RT types for eventsThe original supertibble with an events redcap_events
list column containing arms and events associated with each instrument
Useful links