Learn R Programming

ppcong (version 0.0.2)

ppc_statements: Statements

Description

Get Recent Congressional Statements

Usage

ppc_statements(date = NULL, api_key = NULL, raw = FALSE)

Arguments

date

Day from which statements should be collected; should follow the format of YYYY-MM-DD.

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

Examples

Run this code
# NOT RUN {
## get all statements from may 7th, 2018
may72018 <- ppc_statements("2018-05-07")
# }

Run the code above in your browser using DataLab