Description Usage Arguments Value See Also Examples
View source: R/legiPersonJSON.R
Parses and arranges JSON data from Legiscan master data downloads people subdirectory
1 |
file |
A JSON file object from the people subdirectory |
Creates a list object containing a data frame for identifying individual legislators
Other Parsing and Cleaning LegiScan Data: billids
;
fileLists
; fileStructure
;
getFullText
; legiBillHist
;
legiBillJSON
; legiBillMeta
;
legiBillProg
; legiBillSpons
;
legiBillTxt
; legiVotesJSON
;
legiscanBill
; legiscanPerson
;
legiscanVotes
; xjformat
1 2 3 4 5 6 7 8 | # Create directory object
directoryTree <- fileStructure("data/msHistoricalJSON/")
# Create file list object
files <- fileLists(directoryTree)
# Parse/clean the full bill text data from a LegiScan bill file
aLegislator <- legiPersonJSON(files[["people"]][[10]][[12]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.