cg_bill_cosponsors: Get cosponsors for a specific bill

Description Usage Arguments Examples

View source: R/cg_bill_cosponsors.R

Description

Get cosponsors for a specific bill

Usage

1
cg_bill_cosponsors(congress, id, key = NULL, as = "table", ...)

Arguments

congress

congress id (numeric,integer)

id

the bill id (character)

key

your SunlightLabs API key; loads from environment variable from .Renviron or from an option from .Rprofile

as

(character) One of table (default), list, or response (httr response object). When table is requested, the default, a table is not always returned, but is returned almost always. You can then make a table yourself if you like.

...

Optional additional curl options (debugging tools mostly) passed on to HttpClient

Examples

1
2
3
4
## Not run: 
cg_bill_cosponsors(114, 'hr4249')

## End(Not run)

rsunlight documentation built on May 1, 2019, 10:18 p.m.