get_daily_duration: Get Daily Duration

Description Usage Arguments Value Examples

View source: R/process.R

Description

Calculates the total length of time (in hours) that the FAH Client was active per day.

Usage

1
get_daily_duration(parsed_log)

Arguments

parsed_log

A tibble of FAH Client logs that are parsed (read_fah_logs()) and cleaned (clean_logs()).

Value

A dataframe representing the total active log hours per day, i.e. how long the FAH Client was active, logging and could have been folding if work was available.

Examples

1
2
3
4
read_fah_logs("~/../AppData/Roaming/FAHClient/logs/") %>%
  clean_logs() %>%
  get_total_log_duration() %>%
  paste("Total time client open:", ., "hours")

cormac85/fahlogstats documentation built on June 25, 2020, 10:13 a.m.