legiBillTxt: Legiscan Bill Text Data

Description Usage Arguments Value See Also Examples

View source: R/legiBillTxt.R

Description

Parses and arranges JSON output from Legiscan master data downloads bills subdirectory

Usage

1
legiBillTxt(fileobject)

Arguments

fileobject

A JSON file object from the bills subdirectory

Value

Creates a list object containing a data frame for the progress of the bill

See Also

Other Parsing and Cleaning LegiScan Data: billids; fileLists; fileStructure; getFullText; legiBillHist; legiBillJSON; legiBillMeta; legiBillProg; legiBillSpons; legiPersonJSON; legiVotesJSON; legiscanBill; legiscanPerson; legiscanVotes; xjformat

Examples

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
theBillText <- legiBillTxt(files[["bills"]][[10]][[12]])

wbuchanan/legiscanR documentation built on May 4, 2019, 2:01 a.m.