civicfeed-bills: Bills

Description Usage Arguments Functions Examples

Description

Returns information and details on bills.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
get_bills(
  state = NULL,
  chamber = NULL,
  bill_id = NULL,
  q = NULL,
  search_window = NULL,
  updated_since = NULL,
  sort = NULL,
  pages = 1
)

get_bill_details(state, session, bill_id)

Arguments

state

Returns bills matching the given state abbreviation.

chamber

Returns bills matching the given state abbreviation, valid values are upper, or lower.

bill_id

Returns bills with the given bill_id.

q

Return bills match the full text query.

search_window

Time window to be searched through, valid values are all, term, session, sessionYear (a specific year).

updated_since

Returns bills updated since this date.

sort

Sort order of results, first, last, updated_at, created_at.

session

Return bills matching session.

Functions

Examples

1
2
3
4
5
## Not run: 
bills <- get_bills(state = "dc") 
details <- get_bill_details(bills$state[1], bills$session[1], bills$bill_id[1])

## End(Not run)

abresler/govtrackR documentation built on July 11, 2020, 12:30 a.m.