Description Usage Arguments Details Value See Also Examples
Creates an object to store all of the directory/file information required to build the fileLists object and parse the legiscan data
1 | fileStructure(filepath)
|
filepath |
The file path to the root directory of the legiscan data |
"bills"list of full filepaths/names for all bills XML/JSON files
"people"list of full filepaths/names for all people XML/JSON files
"votes"list of full filepaths/names for all vote XML/JSON files
Creates a list object containing three nested lists for each directory in the path
Other Legiscan Data Downloads: fileLists
Other Parsing and Cleaning LegiScan Data: billids
;
fileLists
; getFullText
;
legiBillHist
; legiBillJSON
;
legiBillMeta
; legiBillProg
;
legiBillSpons
; legiBillTxt
;
legiPersonJSON
;
legiVotesJSON
; legiscanBill
;
legiscanPerson
;
legiscanVotes
; xjformat
1 2 | # Build a directory tree object
directoryTree <- fileStructure("data/msHistorical/")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.