bill: Get a Specific Bill

Description Usage Arguments References Examples

View source: R/api-bills.r

Description

Use this request type to get details about a particular bill, including actions taken and votes. The attributes house_passage_vote and senate_passage_vote are populated (with the date of passage) only upon successful passage of the bill. Bills before the 113th Congress (prior to 2013) have fewer attribute values than those from the 113th Congress onward, because the more recent bill data comes from the bulk data provided by the Government Publishing Office. Details for the older bills came from scraping Thomas.gov, the former congressional site of the Library of Congress.

Usage

1
bill(bill_id, congress = 116L)

Arguments

bill_id

a bill slug, for example hr4881 - these can be found in the recent bill response.

congress

105-116

References

https://projects.propublica.org/api-docs/congress-api/bills/#get-a-specific-bill

Examples

1
2
3
4
5
## Not run: 
bill("hr502", 116)
bill("s1436", 116)

## End(Not run)

zamorarr/ppcongress documentation built on Nov. 5, 2019, 1:23 p.m.