Description Usage Arguments Value See Also Examples
Parses and arranges JSON output from Legiscan master data dumps vote subdirectory
1 |
file |
A JSON file object from the vote subdirectory |
Creates a list object containing a data frame for voting metadata and individual legislators' votes
Other Parsing and Cleaning LegiScan Data: billids
;
fileLists
; fileStructure
;
getFullText
; legiBillHist
;
legiBillMeta
; legiBillProg
;
legiBillSpons
; legiBillTxt
;
legiPersonJSON
;
legiVotesJSON
; legiscanBill
;
legiscanPerson
;
legiscanVotes
; xjformat
1 2 3 4 5 6 7 8 | # Create directory tree object
directoryTree <- fileStructure("data/msHistorical/")
# Build file list object
files <- fileLists(directoryTree)
# Parse/clean up the Bill data
bills <- legiBillJSON(files[["bills"]][[1]][[1]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.