parse_task: Parse A (List Of) Tasks

View source: R/parser.R

parse_taskR Documentation

Parse A (List Of) Tasks

Description

This function parses one task, or a "list" (read, a vector of task strings) in its entirety. A task is specified following the definition(s) by Gina Trapani via todotxt.org and comprising a creation date as first item on a line, a due date marked using ⁠due:⁠, and a priority at the start of each line as (X). Tags are indicated using either an @ for (typically) contexts and a plus + for projects. Optional components comprise a recurrence specified using ⁠rec:⁠ as extension of the original todo.txt specification (see documentation of the android app SimpleTask).

Usage

parse_task(task)

parse_tasks(task)

Arguments

task

One task (string), or a vector of strings.

Value

A tibble with a parsed task.

Author(s)

Paul Lemmens (paul.lemmens@paul-lemmens.nl)


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