Description Usage Arguments Value Examples
floor actions methods
1 2 3 4 | cg_floor_actions_recent(congress, chamber, key = NULL, as = "table", ...)
cg_floor_actions_date(chamber, year, month, day, 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 |
year |
(integer) year of the form YYYY |
month |
(integer) month of the form MM |
day |
(integer) day of the form DD |
various things for now, since return objects vary quite a bit among the different votes routes
1 2 3 4 5 | ## Not run:
cg_floor_actions_recent(115, "house")
cg_floor_actions_date("senate", 2017, 5, 2)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.