Skip to content

eficode/toggleR

 
 

Repository files navigation

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

About

A simple R package to read data from toggl

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • R 78.8%
  • Shell 17.8%
  • Dockerfile 3.4%