parse_bill: Parse bill meta-data

Description Usage Arguments Value Examples

View source: R/parse_bill.R

Description

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

Usage

1
parse_bill(bill)

Arguments

bill

Path to bill json file or list objected returned from get_bill

Value

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

Examples

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

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