A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/ThinkR-open/togglr below:

ThinkR-open/togglr: an R and Rstudio wrapper for toggl Api

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

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

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

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.

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")
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)

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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4