cg_rollcallvote: Get a specific roll-call vote, including a complete list of...

Description Usage Arguments Value References See Also Examples

View source: R/cg_rollcallvote.R

Description

Get a specific roll-call vote, including a complete list of member positions.

Usage

1
2
cg_rollcallvote(congress_no = NULL, chamber = NULL,
  session_no = NULL, rollcall_no = NULL, key = NULL, ...)

Arguments

congress_no

The number of the Congress during which the members served.

chamber

One of 'house' or 'senate.

session_no

1, 2, or special session number (For a detailed list of Congressional sessions, see http://www.senate.gov/reference/resources/pdf/congresses2.pdf).

rollcall_no

Integer. To get roll-call numbers, see the official sites of the US Senate (http://www.senate.gov/pagelayout/legislative/a_three_sections_with_teasers/votes.htm), and US House (http://artandhistory.house.gov/house_history/index.aspx).

key

(character) your Propublica API key; pass in, or loads from .Renviron as PROPUBLICA_API_KEY. See rtimes-package for info on rate limits.

...

Curl options (debugging tools mostly) passed to HttpClient

Value

Get a specific roll-call vote, including a complete list of member positions. A list with metadata about the bill, and vote results.

References

Congress API docs https://projects.propublica.org/api-docs/congress-api/

See Also

Other congress: cg_billscosponsor, cg_memberappear, cg_memberbioroles, cg_memberbystatedistrict, cg_membersleaving, cg_memberslist, cg_membersponsorcompare, cg_membervotecompare, cg_membervotepositions, cg_newmembers

Examples

1
2
3
4
5
## Not run: 
cg_rollcallvote(congress_no = 105, chamber = 'house', session_no = 2, 
  rollcall_no = 38)

## End(Not run)

ropengov/rtimes documentation built on July 21, 2019, 5:27 a.m.