add_event_mapping: Supplement a supertibble from a longitudinal database with...

View source: R/read_redcap.R

add_event_mappingR 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


REDCapTidieR documentation built on April 3, 2025, 10:50 p.m.