ppc_bills: Bills

Description Usage Arguments Value Examples

View source: R/ppc_bills.R

Description

Search Bills

Usage

1
ppc_bills(query = "", api_key = NULL, raw = FALSE)

Arguments

query

keyword or phrase

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 bills information

Examples

1
2
3
4
5
## Not run: 
## get information on legislation about health care
hc <- ppc_bills("health care")

## End(Not run)

mkearney/ppc documentation built on Dec. 18, 2019, 5:40 a.m.