parse_prefixes: Parse Priority, Creation And Completed Dates

View source: R/parser.R

parse_prefixesR Documentation

Parse Priority, Creation And Completed Dates

Description

Parsing a task's priority, creation and due date actually combines elements that should be handled separately. However, the grep pattern that is used is quite useful and more difficult to strip into components. Additionally, these components are all prefixed before the actual task so it is sensible to combine parsing in one go.

Usage

parse_prefixes(todo)

Arguments

todo

A task (string), or a vector of tasks.

Value

A tibble with variables for creation date, completion date, and priority of a task. The tibble also contains the (original) task (as on file) and a "cleaned" version without aforementioned attributes.

Author(s)

Paul Lemmens (paul.lemmens@gmail.com)

References

https://github.com/mpcjanssen/simpletask-android/blob/197bd51f496bd6066df902445acc28df51910d60/src/main/java/nl/mpcjanssen/simpletask/task/Task.java


paullemmens/todoRtxt documentation built on May 19, 2023, 3:21 p.m.