fetch_sub_committees: Fetch data on the subcommittees of parent committees as a...

Description Usage Arguments Details

View source: R/committees.R

Description

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.

Usage

1

Arguments

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.

Details

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.


houseofcommonslibrary/clcommittees documentation built on Dec. 14, 2020, 6:14 a.m.