list_sp_plan_buckets()
lists the buckets for a specified plan using the
list_buckets
method.
Usage
list_sp_plan_buckets(
plan_title = NULL,
plan_id = NULL,
...,
filter = NULL,
n = NULL,
plan = NULL,
as_data_frame = TRUE,
call = caller_env()
)
Arguments
- plan_title, plan_id
Planner title or ID. Exactly one of the two arguments must be supplied.
- ...
Additional arguments passed to
get_sp_group()
.- 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
NULL
which sets n toInf
.- plan
A
ms_plan
object. Ifplan
is supplied,plan_title
,plan_id
, and any additional parameters passed to...
are ignored.- as_data_frame
If
TRUE
(default forlist_sp_plan_buckets()
), return a data frame of object properties with with a list column named "ms_plan_bucket" containingms_plan_task
objects. IfFALSE
, return ams_plan_bucket
object or list ofms_plan_bucket
objects.- 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 thecall
argument ofabort()
for more information.
Value
For list_sp_plan_buckets()
, a list of ms_plan_bucket
class
objects or a data frame with a list column named "ms_plan_task".