| add_filter | R Documentation |
Add a new filter
add_filter(
name,
query,
color = NULL,
is_favorite = FALSE,
verbose = TRUE,
token = get_todoist_api_token()
)
name |
name of the filter |
query |
filter query string (e.g., "today | overdue", "p1 & #Work") |
color |
color of the filter |
is_favorite |
boolean to mark as favorite |
verbose |
boolean that make the function verbose |
token |
todoist API token |
id of the new filter
## Not run:
add_filter("Urgent Today", query = "today & p1")
add_filter("Work Tasks", query = "#Work", color = "blue")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.