getRCWBills: Search for bills based on Revised Code (RCW) citations

Description Usage Arguments Value Examples

View source: R/getRCWBills.R

Description

Get a list of all bills which reference or amend a particular portion of the Revised Code of Washington (RCW)

Usage

1
getRCWBills(biennium, rcwCite, 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"

rcwCite

Character vector for the citation in the RCW to pull legislation from. Optional extensions for title, chapter, and section are allowed. For more information, see https://apps.leg.wa.gov/rcw/

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

getRCWBills returns an object of type equal to the type argument (defaults to dataframe)

Examples

1
getRCWBills("2007-08", "13.40.0357")

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