Learn R Programming

rtimes (version 0.3.0)

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

Description

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

Usage

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
your New York Times API key; pass in, or loads from .Rprofile as nytimes_cg_key, or from .Renviron as NYTIMES_CG_KEY
...
Curl options (debugging tools mostly) passed to GET

Value

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

Examples

Run this code
## Not run: 
# cg_rollcallvote(105, 'house', 2, 38)
# ## End(Not run)

Run the code above in your browser using DataLab