Skip to content
/ togglr Public

❗ This is a read-only mirror of the CRAN R package repository. togglr — 'Toggl.com' Api for 'Rstudio'. Homepage: https://github.com/ThinkR-open/togglr Report bugs for this package: https://github.com/ThinkR-open/togglr/issues

Notifications You must be signed in to change notification settings

cran/togglr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRAN_Status_Badge R-CMD-check

togglr

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

Documentation site: https://thinkr-open.github.io/togglr/

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://track.toggl.com/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)

About

❗ This is a read-only mirror of the CRAN R package repository. togglr — 'Toggl.com' Api for 'Rstudio'. Homepage: https://github.com/ThinkR-open/togglr Report bugs for this package: https://github.com/ThinkR-open/togglr/issues

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages