parse_person_vote: Parse individual legislator voting record

Description Usage Arguments Value Examples

View source: R/parse_person_vote.R

Description

Parse individual legislator's vote in each roll call from local json. (support for parsing from API response not yet available.)

Usage

1
parse_person_vote(vote_json)

Arguments

vote_json

Path to vote json file

Value

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

Examples

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

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