Learn R Programming

ppcong (version 0.0.2)

ppc_bills: Bills

Description

Search Bills

Usage

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

Run this code
# NOT RUN {
## get information on legislation about health care
hc <- ppc_bills("health care")
# }

Run the code above in your browser using DataLab