An open API service indexing awesome lists of open source software.

https://github.com/enricoschumann/taskwarrior.utils

Utilities for Handling Taskwarrior Data
https://github.com/enricoschumann/taskwarrior.utils

r taskwarrior

Last synced: 4 months ago
JSON representation

Utilities for Handling Taskwarrior Data

Awesome Lists containing this project

README

          

* taskwarrior.utils

Utilities for handling Taskwarrior
(https://taskwarrior.org/) data: parsing export files,
retrieving tags and projects.

** Installing the package

The latest build of the package is always available from
[[https://enricoschumann.net/R/packages/taskwarrior.utils/]].

To install the package from within an R session, type:
#+BEGIN_SRC R :eval never :export code
install.packages("taskwarrior.utils", ## development version
repos = c("https://enricoschumann.net/R",
getOption("repos")))
#+END_SRC

** Examples

#+BEGIN_SRC R :results none :exports code :session **R**
library("taskwarrior.utils")

file <- "/tasks.json" ## in a shell: `task export > tasks.json`
tasks <- read_tasks(file)
tasks <- as.data.frame(tasks)
str(tasks)

tasks <- tasks[!tasks$status %in% c("completed", "deleted"),]
#+END_SRC