Learn R Programming

eventr (version 1.0.0)

get_id: Get Event Identifier

Description

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

Usage

get_id(obj)

Arguments

obj

An event or a list of events.

Value

get_id returns a character string.

Examples

Run this code
# NOT RUN {
first_event <- event(id = 'first-event', type = 'FIRST_EVENT', time = Sys.time())

get_id(first_event)

# }

Run the code above in your browser using DataLab