Skip to contents

Extract all items and events and their interactions from the event reactions list

Usage

extract_from_reactions(reactions)

Arguments

reactions

list generated through add_reactevt

Value

A data.frame with the relevant item/event, the event where it's assigned, and whether it's contained within a conditional statement

Examples

a <- add_reactevt(name_evt="example",
   input={
      modify_item(list(w=5))
   })
   
 extract_from_reactions(a)
#>      event   name   type conditional_flag definition
#>     <char> <char> <char>           <lgcl>     <char>
#> 1: example      w   item            FALSE          5