View source: R/get_senate_nomination_votes.R
get_senate_nomination_votes | R Documentation |
To get Senate votes on presidential nominations. HTTP Request: GET https://api.propublica.org/congress/v1/congress/nominations.json
get_senate_nomination_votes(congress, page = 1, myAPI_Key)
congress |
101-116 |
page |
Results come in batches of 20. The page parameter specifies which one to retrieve. |
myAPI_Key |
API key from Propublica To use the congress API, you must sign up for an API key. |
List of returned JSON from endpoint that retrieves Senate votes on presidential nominations
## Not run:
get_senate_nomination_votes(114)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.