Data Storage abstract class to handle all the read/write operations
Source:R/data-storage.R
DataStorage.Rd
Abstract R6 Class that encapsulates all the operations needed by Shiny.telemetry to read and write. This removes the complexity from the functions and uses a unified API.
Active bindings
event_bucket
string that identifies the bucket to store user related and action data
Methods
Method insert()
Insert new data
Arguments
app_name
string with name of dashboard (the version can be also included in this string)
type
string that identifies the event type to store
session
(optional) string that identifies a session where the event was logged
details
atomic element of list with data to save in storage
time
date time value indicates the moment the record was generated in UTC. By default it should be NULL and determined automatically, but in cases where it should be defined, use
Sys.time()
orlubridate::now(tzone = "UTC")
to generate it.