getLegislationSigned {washex} | R Documentation |
Get all bills signed into law
Description
Get a dataframe containing all of the bills that originated in a given chamber and were eventually signed into law
Usage
getLegislationSigned(
biennium,
agency = c("House", "Senate"),
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. |
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
getLegislationSigned
returns an object of type equal to the
type
argument (defaults to dataframe)
Examples
## get all bills signed into law from the Senate between 2007-2010
bienniums <- c("2007-08", "2009-10")
getLegislationSigned(bienniums, "Senate")
[Package washex version 1.2.0 Index]