ppc_statements: Statements

Description Usage Arguments Value Examples

View source: R/ppc_statements.R

Description

Get Recent Congressional Statements

Usage

1
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

1
2
3
4
5
## Not run: 
## get all statements from may 7th, 2018
may72018 <- ppc_statements("2018-05-07")

## End(Not run)

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