find_tag | R Documentation |
Finds the index of a particular tag in a list of tags wherein the list might also contain vectors. This function helps to find row indices for later filtering functions.
find_tag(tag_list, tag)
tag_list |
A list of strings or vectors of strings representing tasks' tags (with vectors for tasks with multiple tags). |
tag |
Simple string of one tag to find in the |
A boolean vector for the list indices that contain tag
.
todo <- c('x 2018-12-12 2018-12-10 x y z @home +list',
'(A) 2018-12-10 a b c @home @work',
'2018-12-12 def +list',
'a b c @context +list +project')
parse_tasks(todo) %>% filter(find_tag(context, '@home'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.