ppc_parse_data: Parse data

Description Usage Arguments Value Examples

View source: R/ppc_parse.R

Description

Converts ProPublica API response into a tibble (data frame)

Usage

1

Arguments

r

Reponse from ProPublica API

Value

A tibble with headers attribute

A data frame of congressional information

Examples

1
2
3
4
5
6
7
8
## Not run: 
## get votes data–return the raw response object
v <- ppc_votes("senate", raw = TRUE)

## convert response object into data frame
ppc_parse_data(v)

## End(Not run)

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