Description Usage Arguments Value See Also Examples
View source: R/legiscanPerson.R
Parses and arranges XML dumps from Legiscan master data dumps people subdirectory
1 |
file |
An XML 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; legiPersonJSON;
legiVotesJSON; legiscanBill;
legiscanVotes; xjformat
1 2 3 4 5 6 7 8 | # Build directory structure from master data downloads
directoryTree <- fileStructure("data/msHistorical/")
# Create object with all file references stored in it
files <- fileLists(directoryTree)
# Pass the function a bill object for processing
people <- legiscanPerson(files[["people"]])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.