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
- Host: GitHub
- URL: https://github.com/enricoschumann/taskwarrior.utils
- Owner: enricoschumann
- Created: 2019-12-06T06:49:04.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-05T15:49:54.000Z (11 months ago)
- Last Synced: 2025-02-24T08:19:20.658Z (8 months ago)
- Topics: r, taskwarrior
- Language: R
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
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