Description Usage Arguments Value Examples
committees methods
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | cg_committees(congress, chamber, key = NULL, as = "table", ...)
cg_committee(congress, chamber, id, sub_id = NULL, key = NULL,
as = "table", ...)
cg_committee_hearings(congress, chamber = NULL, id = NULL, key = NULL,
as = "table", ...)
cg_committee_comms(congress, key = NULL, as = "table", ...)
cg_committees_comms_category(congress, category, key = NULL, as = "table",
...)
cg_committees_comms_date(date, key = NULL, as = "table", ...)
cg_committees_comms_chamber(congress, chamber, key = NULL, as = "table",
...)
|
congress |
(character) The number of the Congress this update took place during. |
chamber |
(character) The chamber this update took place in. 'house' or 'senate'. |
key |
your ProPublica API key; pass in or loads from environment variable
stored as |
as |
(character) IGNORED FOR NOW |
... |
optional curl options passed on to crul::HttpClient.
See |
id |
(character) a commmitte id |
sub_id |
(character) a sub-committee id |
category |
(character) one of ec, pm, or pom |
date |
(character) a date, of the form YYYY-MM-DD |
various things for now, since return objects vary quite a bit among the different votes routes
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
cg_committees(115, "senate")
cg_committee(115, "senate", "SSAF")
cg_committee(115, "senate", "HSAS", sub_id = "HSAS28")
cg_committee_hearings(115)
cg_committee_hearings(115, "house", "HSRU")
cg_committee_comms(115)
cg_committees_comms_category(115, "pm")
cg_committees_comms_date("2018-03-21")
cg_committees_comms_chamber(115, "house")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.