README.md

toggleR

Building

CircleCI

Dependencies

The package toggleR depends on:

Methods

WiP

Usage

A simple example

library(tidyverse)
library(jsonlite)
library(httr)

library(toggleR)

# get the list of groups from toggl
groups <- as_tibble(get.toggl.groups(Sys.getenv("TOGGL_TOKEN"), Sys.getenv("TOGGL_WORKSPACE")))

To get the detailed report for a group

# get the entries for a group for the last 30 days
get.toggl.group.data(Sys.getenv("TOGGL_TOKEN"), Sys.getenv("TOGGL_WORKSPACE"), <groupId>, since = Sys.Date() - 30)

For more details

?get.toggl.groups

to read the documentation in the package



Praqma/toggleR documentation built on April 11, 2020, 7:36 p.m.