Description Usage Arguments Value Examples
View source: R/getAmendments.R
Get a list of all proposed amendments (accepted and rejected) on the bill, including the URL to the amendment text
1 2 3 4 5 6 | getAmendments(
biennium,
billNumber,
paired = TRUE,
type = c("df", "list", "xml")
)
|
biennium |
Character vector representing the biennium(s) to be searched. Each argument should take the form "XXXX-YY" |
billNumber |
Character or numeric vector containing the bill number(s) to be retrieved. |
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. |
getAmendments
returns an object of type equal to the
type
argument (defaults to dataframe)
1 2 3 4 5 6 7 8 | ## get amendments for a single bill
getAmendments("2007-08", "1001")
## get amendments for a specific set of bills
years <- c("2005-06","2007-08","2007-08")
bills <- c(1447,1219,1001)
getAmendments(years, bills, paired = TRUE, type = "df")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.