get_senate_nomination_votes: Get Senate Nomination Votes

View source: R/get_senate_nomination_votes.R

get_senate_nomination_votesR Documentation

Get Senate Nomination Votes

Description

To get Senate votes on presidential nominations. HTTP Request: GET https://api.propublica.org/congress/v1/congress/nominations.json

Usage

get_senate_nomination_votes(congress, page = 1, myAPI_Key)

Arguments

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.

Value

List of returned JSON from endpoint that retrieves Senate votes on presidential nominations

Examples

## Not run: 
get_senate_nomination_votes(114)

## End(Not run)

ProPublicaR documentation built on Sept. 8, 2023, 5:53 p.m.