get_body: Get Event Body

Description Usage Arguments Value Examples

View source: R/get_body.R

Description

This function returns the body of an event or list of events.

Usage

1
get_body(obj)

Arguments

obj

An event or a list of events.

Value

The get_body function returns a list object

Examples

1
2
3
4
5
6
7
8
9
first_event <- event(
  id = 'first-event',
  type = 'FIRST_EVENT',
  time = Sys.time(),
  attr_01 = 'first-body-attr',
  attr_02 = 'second-body-attr'
)

get_body(first_event)

eventr documentation built on July 8, 2020, 7:32 p.m.