Description Usage Arguments Details
fetch_sub_committees
fetches data on the subcommittees of parent
comittees and returns it as a tibble containing one row per combination of
parent and subcommittee. The data returned for each subcommittee is the data
from the sub_committees table of its parent committee in the full table
returned from fetch_committees
.
1 | fetch_sub_committees(committees = NULL, summary = TRUE)
|
committees |
A vector of committee ids specifying the parent committees for which to return any subcommittees. The default is NULL, which returns data on subcommittees for all parent committees. |
summary |
A boolean indicating whether to exclude nested and empty columns in the results. The default is TRUE. |
Any committee that is a subcommittee will also be listed as a committee in
the table returned from fetch_committees
, so you may wish to use the
results of fetch_sub_committees
to filter the results of
fetch_committees
.
You can optionally use the committees
argument to provide a vector of
committee ids and the function will return just the subcommittees of the
given parent committees.
By default this function returns a subset of the columns and ignores any
nested and redundant columns. Set summary = FALSE
when calling the
function to retrieve the full data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.