knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
The goal of worktime is to visualize time spent working. Can also import
clocking data from .org
files.
# install.packages("devtools") devtools::install_github("lwjohnst86/worktime")
Have an .org
file where you clock your time? Import it into R so you can do
data analysis on your hours!
library(worktime) library(dplyr) clocking <- import_org_clock("data-raw/clocking.org") clocking
Check how much time you've spent on each task/heading.
clocking %>% add_minutes_worked() %>% group_by(Header1) %>% summarize(TotalHoursWorked = sum(as.numeric(MinutesWorked)) / 60)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.