Learn R Programming

eventr (version 1.0.0)

get_body: Get Event Body

Description

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

Usage

get_body(obj)

Arguments

obj

An event or a list of events.

Value

The get_body function returns a list object

Examples

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab