Learn R Programming

congressbr (version 0.2.2)

sen_bills_current: Downloads and tidies information on legislation from the current legislature of the Federal Senate

Description

Downloads and tidies information on legislation from the current legislature of the Federal Senate.

Usage

sen_bills_current(
  year = NULL,
  date = NULL,
  time = NULL,
  number = NULL,
  type = NULL,
  passing = NULL
)

Arguments

year

Format YYYY. Returns legislation from this year.

date

date requested, format YYYYMMDD. Returns information on legislation on or after this time.

time

Format hour-minute-second (HHmmSS). Returns information on legislation on or after this time.

number

bill number.

type

type of legislation.

passing

is the bill currently under consideration in the Senate? Possible values are NULL (the default), "Yes" or "No". NULL returns the information obtained from "Yes" and "No".

Value

A tibble, of classes tbl_df, tbl and data.frame.

Examples

Run this code
# NOT RUN {
all <- sen_bills_current()
plc_2015 <- sen_bills_current(year = 2015, type = "PLS")
# }

Run the code above in your browser using DataLab