time_total: Sum up all working hours.

View source: R/time-aggregation.R

time_totalR Documentation

Sum up all working hours.

Description

Sum up all working hours.

Usage

time_total(timesheet)

Arguments

timesheet

A correctly named data.table.

Value

A string with time in hours.

Examples

timesheet <- add_entry("2021-11-04 12:30:00", "2021-11-04 13:30:00", "Eating in office hours")
timesheet <- add_entry("2021-12-04 13:30:00", "2021-12-04 16:30:00", "Powernap", timesheet)
time_total(timesheet)

max607/timesheet documentation built on July 22, 2024, 4:10 p.m.