parse_bill_progress: Parse bill progress events

Description Usage Arguments Details Value Examples

View source: R/parse_bill_progress.R

Description

Parse bill progress data from local json or API response and return a data frame.

Usage

1

Arguments

bill

Path to bill json file or list objected returned from get_bill

Details

Progress event is represented in numeric id. See lookup table for description.

Value

A data frame of 3 columns. For more details, see documentation.

Examples

1
2
3
HB1 <- system.file("extdata", "bill/HB1.json", package = "legiscanrr")
HB1 <- parse_bill_progress(HB1)
str(HB1)

fanghuiz/legiscanrr documentation built on Jan. 13, 2020, 4:51 a.m.