getLegislationSigned: Get all bills signed into law

Description Usage Arguments Value Examples

View source: R/getLegislationSigned.R

Description

Get a dataframe containing all of the bills that originated in a given chamber and were eventually signed into law

Usage

1
2
3
4
5
6
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

1
2
3
## get all bills signed into law from the Senate between 2007-2010
bienniums <- c("2007-08", "2009-10")
getLegislationSigned(bienniums, "Senate")

washex documentation built on Nov. 17, 2021, 5:18 p.m.