Jump to content

Periodic Statistics


dsturrock
 Share

Recommended Posts

Ever want to track statistics periodically, like by hour, shift, day, or week? I created this pair of objects for a customer about a year ago, then forgot to do anything with it. Perhaps others will find this to be useful.


The solution is two objects, one for states and one for tallies, that allow you to flexibly designate periodic statistics on any interval, can skip periods (like off shift times), provides an optional plot, and provides the choice of logging or output file.


I frankly don't recall how complete this was when I left it, but I'm sharing it in the hopes that others can benefit from this work and possibly even complete/improve it and reshare with others.

Capture.PNG.f2654259eaf5baa50953047e9727e53d.PNG

Enjoy! :)

PeriodStatisticObjects.spfx

Link to comment
Share on other sites

  • 1 month later...
  • 2 years later...
×
×
  • Create New...