knitr::opts_chunk$set(
  message = FALSE, 
  warning = FALSE,
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "80%"
)

togglvis

Installation

You can install the latest version of togglvis from CRAN with:

install.packages("remotes")
remotes::install_github("karissawhiting/togglvis")

Example

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)
load(here::here("data-raw", "report.RData"))

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)


karissawhiting/togglvis documentation built on March 11, 2020, 6:36 a.m.