Description Usage Arguments Value Examples
Event constructor
1 2 3 4 5 |
id |
A character identifier |
type |
A character indicating the event type |
time |
A character string indicating the event timestamp |
... |
A list with the event attributes. |
The function returns an object of class event. event
objects are implemented as a list of two main elements: A head and
a body.The head contains an identifier (id), a string
indicating the event type (type) and a POSIXct object indicating
when the event occurs (time). The body containts the event attributes
defined by the user. By default id is generated using uuid and time
value is the result of Sys.time() function by default.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.