an R and Rstudio wrapper for toggl Api
Switch branches/tags
Nothing to show
Clone or download
Latest commit dcbd9bf Aug 20, 2018
Permalink
Failed to load latest commit information.
R close #10 Aug 20, 2018
docs synchro Aug 7, 2018
inst synchro Aug 7, 2018
man update to CRAN Aug 13, 2018
vignettes synchro Aug 7, 2018
.Rbuildignore codecov Dec 19, 2017
.gitignore synchro Aug 7, 2018
.travis.yml synchro Aug 7, 2018
DESCRIPTION close #10 Aug 20, 2018
NAMESPACE rename depend Jan 3, 2018
README.md synchro Aug 7, 2018
appveyor.yml synchro Aug 7, 2018
codecov.yml synchro Aug 7, 2018
togglr.Rproj re init Dec 18, 2016

README.md

CRAN_Status_Badge Travis build status AppVeyor Build Status Coverage status

togglr

An R and Rstudio wrapper for toggl Api. https://www.toggl.com/

Installation of togglr

From CRAN

install.packages("togglr")

From Github

if (!requireNamespace("devtools")){install.packages("devtools")}
devtools::install_github("ThinkR-open/togglr")

Set toggl Api token

Go on toogl.com website : https://toggl.com/app/profile

togglr::open_toggl_website_profile()

then select and copy your token api at the bottom of the page.

library(togglr)
set_toggl_api_token("your_token_api")

You just need to do this once.

Start the tracking system

Without any parameters it will create a new project using your Rstudio project name.

toggl_start()

By default the client name is "without client" you can choose (and eventualy create a client) by using :

toggl_start(client = "my client")

But you can also choose the task and the project

toggl_start(client = "my client",
            description = "what I'm doing",
            project_name = "my project")

Stop the tracking system

toggl_stop()

Get total time passed on the current project

get_current_duration()# the current track
get_project_task_detail()# all the project (including the current track)

Get all your dashboard

get_dashboard()

Use Rstudio Addins

This package comes with 2 Rstudio addins 'start toggl' and 'stop toggl', feel free to use keybindings for convenience.

Some other uselfull functions are in this package

ls(package:togglr)