getRCWBills {washex}R Documentation

Search for bills based on Revised Code (RCW) citations

Description

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

Usage

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

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

[Package washex version 1.2.0 Index]