Learn R Programming

rsunlight (version 0.7.0)

cg_bill_amendments: Search for data on amendments for a specific bill

Description

Search for data on amendments for a specific bill

Usage

cg_bill_amendments(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

Run this code
# NOT RUN {
cg_bill_amendments(115, 'hr1628')
# }

Run the code above in your browser using DataLab