get_specific_committee: Get a Specific Committee

View source: R/get_specific_committee.R

get_specific_committeeR Documentation

Get a Specific Committee

Description

To get information about a single Senate or House committee, including the members of that committee, use the following function. The committee ids can be found in the committee list responses. HTTP Request: GET https://api.propublica.org/congress/v1/congress/chamber/committees/committee-id.json

Usage

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

Arguments

congress

110-116

chamber

house, senate or joint

committee_id

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 results and supports pagination using multiples of 20.

Examples

## Not run: 
get_specific_committee(115, "senate",
lists_of_committees(115, "senate")$results[[1]]$committees[[1]]$id)

get_specific_committee(115, "senate", "SSAF")

## End(Not run)

ProPublicaR documentation built on Sept. 16, 2022, 5:07 p.m.