Historian: Historian

Description Usage Arguments Format Historian Methods Author(s)

Description

Historian Class that maintains the log history of objectNames and their events.

Usage

1

Arguments

dateFrom

Character string containing a date in any ISO 8601 format, from which the history log should be returned.

dateTo

Character string containing a date in any ISO 8601 format, from which the history log should be returned.

class

Character string indicating the class for which log entries should be returned.

objectName

Character string indicating the name of the objectName for which log entries should be returned.

Method

Character string indicating the method for which log entries should be returned.

Format

An object of class R6ClassGenerator of length 24.

Historian Methods

new()

Initializes a singleton objectName, noting the instantiation of the nlpStudio objectName.

addEvent(className, objectName, method, event)

Posts the event to history.

searchEvents(dateFrom, dateTo, class, objectName, method)

Returns the history of events according to the parameters provided, in a data frame format.

purgeEvents()

Sets events to null.

restoreEvents()

Restores events from the history file.

Author(s)

John James, jjames@datasciencesalon.org


j2scode/nlpStudio documentation built on May 9, 2019, 12:54 p.m.