{"id":20665594,"url":"https://github.com/thinkr-open/togglr","last_synced_at":"2025-04-19T16:39:21.598Z","repository":{"id":45414010,"uuid":"75488528","full_name":"ThinkR-open/togglr","owner":"ThinkR-open","description":"an R and Rstudio wrapper for toggl Api","archived":false,"fork":false,"pushed_at":"2024-02-19T14:56:54.000Z","size":8291,"stargazers_count":49,"open_issues_count":9,"forks_count":18,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-16T08:11:36.189Z","etag":null,"topics":["hacktoberfest","r","toggl-api","toggler"],"latest_commit_sha":null,"homepage":"https://thinkr-open.github.io/togglr/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThinkR-open.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-03T17:18:12.000Z","updated_at":"2024-10-23T15:45:44.000Z","dependencies_parsed_at":"2024-02-19T16:08:42.384Z","dependency_job_id":"6f5c93f3-dec9-4374-9197-66bb555981f0","html_url":"https://github.com/ThinkR-open/togglr","commit_stats":{"total_commits":133,"total_committers":12,"mean_commits":"11.083333333333334","dds":"0.18796992481203012","last_synced_commit":"db54e35dfb0bc67e7b46a47d8bf665f18c67c484"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThinkR-open%2Ftogglr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThinkR-open%2Ftogglr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThinkR-open%2Ftogglr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThinkR-open%2Ftogglr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThinkR-open","download_url":"https://codeload.github.com/ThinkR-open/togglr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249739840,"owners_count":21318670,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest","r","toggl-api","toggler"],"created_at":"2024-11-16T19:32:29.960Z","updated_at":"2025-04-19T16:39:21.564Z","avatar_url":"https://github.com/ThinkR-open.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\",\n  eval = FALSE\n)\n```\n  \u003c!-- badges: start --\u003e\n[![CRAN_Status_Badge](http://www.r-pkg.org/badges/version/togglr)](https://cran.r-project.org/package=togglr)\n[![](http://cranlogs.r-pkg.org/badges/togglr)](https://cran.r-project.org/package=togglr)\n  [![R-CMD-check](https://github.com/ThinkR-open/togglr/workflows/R-CMD-check/badge.svg)](https://github.com/ThinkR-open/togglr/actions)\n  \u003c!-- badges: end --\u003e\n \n# togglr\n\nAn R and Rstudio wrapper for toggl Api.\n\u003chttps://www.toggl.com/\u003e\n\nDocumentation site: https://thinkr-open.github.io/togglr/\n\n## Installation of `togglr`\n\n\n### From CRAN\n\n```{r}\ninstall.packages(\"togglr\")\n```\n\n\n### From Github\n```R\nif (!requireNamespace(\"remotes\")){install.packages(\"remotes\")}\nremotes::install_github(\"ThinkR-open/togglr\")\n```\n\n\n\n## Set toggl Api token\n\nGo on toogl.com website : `https://track.toggl.com/profile`\n\n```{r}\ntogglr::open_toggl_website_profile()\n```\n\nthen select and copy your token api at the bottom of the page.\n\n```{r}\nlibrary(togglr)\nset_toggl_api_token(\"your_token_api\")\n```\nYou just need to do this once.\n\n\n## Start the tracking system\n\nWithout any parameters it will create a new project using your Rstudio project name. \n\n```{r}\ntoggl_start()\n```\n\nBy default the client name is \"without client\" you can choose (and eventualy create a client) by using :\n\n```{r}\ntoggl_start(client = \"my client\")\n```\n\nBut you can also choose the task and the project\n\n```{r}\ntoggl_start(client = \"my client\",\n            description = \"what I'm doing\",\n            project_name = \"my project\")\n```\n\n\n## Stop the tracking system\n\n```{r}\ntoggl_stop()\n```\n\n\n## Get total time passed on the current project\n\n```{r}\nget_current_duration()# the current track\nget_current_project_task_detail()# (including the current track)\n\n```\n\n## Get all your dashboard\n\n```{r}\nget_dashboard()\n```\n\n\n## Use Rstudio Addins\n\nThis package comes with 2 Rstudio addins 'start toggl' and 'stop toggl', feel free to use keybindings for convenience.\n\n\n## Some other uselfull functions are in this package\n\n```{r}\nls(package:togglr)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkr-open%2Ftogglr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthinkr-open%2Ftogglr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthinkr-open%2Ftogglr/lists"}