getCommitteeMembers {washex} | R Documentation |
Get committee members
Description
Get committee members
Usage
getCommitteeMembers(
biennium,
agency = c("House", "Senate"),
name,
paired = FALSE,
type = c("df", "list", "xml")
)
Arguments
biennium |
Character vector representing the biennium(s) to be searched. Each argument should take the form "XXXX-YY" |
agency |
One of "House" or "Senate", or a vector with these as its elements. |
name |
Character vector of committee names. To get the committee names
for a particular session, see |
paired |
If TRUE, will assume that equal length vectors represent paired data. Set to FALSE to generate an NxN grid of input arguments. Applies to equal length vector inputs only. |
type |
One of "df", "list", or "xml". Specifies the format for the output. |
Value
getCommitteeMembers
returns an object of type equal to the
type
argument (defaults to dataframe)
Examples
## get all committee members for a select number of committees and years
years <- c("2011-12","2013-14")
comms <- c("Education","Judiciary")
getCommitteeMembers(years, agency = "House", comms, paired = TRUE)
[Package washex version 1.2.0 Index]