You can install the latest version of togglvis from Github with:
install.packages("remotes")
remotes::install_github("karissawhiting/togglvis")
This is a basic example showing how to get data from the {togglr} API and process and visualize it.
You will need to set up an account on toggl and get an API token. See {togglr} for easy instructions on how to set API key.
Note: You can also download data as a csv directly from the toggl.
library(togglvis)
library(dplyr)
library(togglr)
Get summary report data using {togglr} app, or download data from toggl web browser.
# See togglr documentation for how to set up the API key
report <- togglr::get_detailled_report()
processed_report <- process_report(report)
time_bar_chart(processed_report)