get_sp_task() gets an individual planner task using the get_task method.
list_sp_tasks() lists the tasks for a specified plan using the list_tasks
method.
Usage
get_sp_task(
task_title = NULL,
task_id = NULL,
...,
plan_title = NULL,
plan_id = NULL,
plan = NULL,
as_data_frame = FALSE,
call = caller_env()
)
list_sp_tasks(
plan_title = NULL,
plan_id = NULL,
...,
filter = NULL,
n = NULL,
plan = NULL,
as_data_frame = TRUE,
call = caller_env()
)Arguments
- task_title, task_id
Planner task title and id. Exactly one of
task_titleandtask_idmust be supplied.- ...
Additional arguments passed to
get_sp_group().- plan_title, plan_id
Planner title or ID. Exactly one of the two arguments must be supplied.
- plan
A
ms_planobject. Ifplanis supplied,plan_title,plan_id, and any additional parameters passed to...are ignored.- as_data_frame
If
TRUE(default forlist_sp_tasks()), return a data frame of object properties with with a list column named "ms_plan_task" containingms_plan_taskobjects. IfFALSE(defaultget_sp_task()), return ams_plan_taskobject or list ofms_plan_taskobjects.- call
The execution environment of a currently running function, e.g.
caller_env(). The function will be mentioned in error messages as the source of the error. See thecallargument ofabort()for more information.- filter
A string with an OData expression apply as a filter to the results. Learn more in the Microsoft Graph API documentation on using filter query parameters.
- n
Maximum number of lists, plans, tasks, or other items to return. Defaults to
NULLwhich sets n toInf.
Value
For list_sp_tasks(), a list of ms_plan_task class objects or a
data frame with a list column named "ms_plan_task".