bills: bills

Description Usage Arguments Note Examples

Description

Imports data on House of Commons and House of Lords bills

Usage

1
bills(billType = c("ammended", "stageTypes", "publications"))

Arguments

billType

The type of data you want, allows the arguments 'ammended', 'publications' and 'stageTypes'

ammended

Imports a data frame with all ammended bills

stageTypes

Imports a data frame with all bill stage types

publications

Imports a data frame with all bill publications

Note

There are problems with the Bills API, as the JSON data available for some queries, including the query to return all bills currently before the house, is inconsistently formatted and cannot be parsed into a data frame.

Examples

1
2
3
4
5
6
7
8
## Not run: 
x <- bills('all')

x <- bills('ammended')

x <- bills('stageTypes')

## End(Not run)


Search within the hansard package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.