file_stat_diff: Add difference from previous timestamp to file_stat_log...

file_stat_diffR Documentation

Add difference from previous timestamp to file_stat_log output

Description

Add difference from previous timestamp to file_stat_log output

Usage

file_stat_diff(
  logs = file_stat_log,
  columns,
  logpath = NULL,
  logname = NULL,
  maxup = 1.25,
  maxdown = 0,
  Date = Sys.Date()
)

Arguments

logs

log created using file_stat_log

columns

columns within log with quantified value combinations

logpath

Path to log

logname

Name of log

maxup

Optional; Maximum permissible increase from previous log. Warning recorded if exceeded. Default is 1.25

maxdown

Optional; Maximum permissible decrease from previous log. Warning recorded if exceeded. Default is 0.

Date

Optional; date to give processed log. Default is system date.

Value

file_stat_log returned with differences by time interval

Examples

# file_stat_diff(logs = "file_stat_log", columns =c("col1", "col2"))


DHatziioanou/simpleepi documentation built on Sept. 24, 2024, 5:25 a.m.