KPICapture

The KPICapture classes are used to store and retrieve very low-resolution, time-stamped data, such as per-day or per-shift KPIs.

Although they are very simple, they are a useful tool if you'd like to create weekly, monthly or yearly reporting based on figures you're capturing in your daily reports.

While you're more than welcome to write data into a database, KPI capture has a few benefits:

  • It records the data in simple JSON files, which are cross platform, human-readable, easily backed-up, edited and cleaned.
  • Data from multiple different reports can be captured in the same file, making data extraction extremely quick and easy,
  • Data is stored in individual files per period, meaning any data corruption will only result in the loss of a single days data (which should be easily recoverable by re-generating the source reports).

Using the Class