get_time: Get Event Time

Description Usage Arguments Value Examples

View source: R/get_time.R

Description

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

Usage

1
get_time(obj)

Arguments

obj

An event or a list of events.

Value

get_time() return a POSIXct object

Examples

1
2
3
4
5
6
7
first_event <- event(
  id = 'first-event',
  type = 'FIRST_EVENT',
  time = Sys.time()
)

get_time(first_event)

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