parse_rollcall_vote: Parse roll call votes

Description Usage Arguments Value Examples

View source: R/parse_rollcall_vote.R

Description

Parse roll call votes for a bill from local json. (support for parsing from API response not yet available.)

Usage

1

Arguments

vote_json

Path to vote json file

Value

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

Examples

1
2
3
vote <- system.file("extdata", "vote/154366.json", package = "legiscanrr")
vote <- parse_rollcall_vote(vote)
str(vote)

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