add_event_mapping {REDCapTidieR}R Documentation

Supplement a supertibble from a longitudinal database with information about the events associated with each instrument

Description

Supplement a supertibble from a longitudinal database with information about the events associated with each instrument

Usage

add_event_mapping(supertbl, linked_arms, repeat_event_types)

Arguments

supertbl

a supertibble object to supplement with metadata

linked_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 events

Value

The original supertibble with an events redcap_events list column containing arms and events associated with each instrument


[Package REDCapTidieR version 1.2.3 Index]