Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_hearing_specific_committee

Get Hearings for a Specific Committee


Description

To get a list of 20 upcoming Senate or House committee meetings, use the following function. HTTP Request: GET https://api.propublica.org/congress/v1/congress/chamber/committees/committee-id/hearings.json

Usage

get_hearing_specific_committee(
  congress,
  chamber,
  committee_id,
  page = 1,
  myAPI_Key
)

Arguments

congress

114-116

chamber

house or senate

committee_id

Optional committee abbreviation, for example HSAG. Use the full committees response to find abbreviations.

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 the 20 most recent hearings and supports pagination.

Examples

get_hearing_specific_committee(115, 'house', 'HSRU')
get_hearing_specific_committee(115, 'house', 
lists_of_committees(115, "senate")$results[[1]]$committees[[1]]$id)

ProPublicaR

Access Functions for ProPublica's APIs

v1.1.1
GPL-3 | file LICENSE
Authors
Aleksander Dietrichson [aut, cre], Joselina Davit [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.