Description Usage Arguments Value See Also Examples
Parses and arranges JSON output from Legiscan master data downloads bills subdirectory
1 | legiBillHist(fileobject)
|
fileobject |
A JSON file object from the bills subdirectory |
Creates a list object containing a data frame for the history of the bill
Other Parsing and Cleaning LegiScan Data: billids
;
fileLists
; fileStructure
;
getFullText
; legiBillJSON
;
legiBillMeta
; legiBillProg
;
legiBillSpons
; legiBillTxt
;
legiPersonJSON
;
legiVotesJSON
; legiscanBill
;
legiscanPerson
;
legiscanVotes
; xjformat
1 2 3 4 5 6 7 8 | # Create the directory tree in an object
directoryTree <- fileStructure("data/msHistoricalJSON/")
# Store the file path/structure in a new object to reference files for parsing
files <- fileLists(directoryTree)
# Parse the bill history data from a bill file
history <- legiBillHist(files[["bills"]][[10]][[12]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.