ppc_committees: Committees

Description Usage Arguments Value Examples

View source: R/ppc_committees.R

Description

Lists of Committees

Usage

1
2
3
4
5
6
ppc_committees(
  congress = "116",
  chamber = c("joint", "house", "senate"),
  api_key = NULL,
  raw = FALSE
)

Arguments

congress

The number of Congress of interest

chamber

Specify the chamber of Congress typically "house" or "senate"; sometimes "both" or "joint"

api_key

The actual API key string provided by ProPublica.

raw

Logical indicating whether to return the raw response object. The default (FALSE) parses the content and returns a tibble data frame.

Value

A data frame of congressional committees information

Examples

1
2
3
4
5
## Not run: 
## get committes info for house members in 115th congress
h115com <- ppc_committees("115", "house")

## End(Not run)

r-congress/ppcong documentation built on Dec. 16, 2019, 12:45 a.m.