Provides functions to download data from the < http://www.data.parliament.uk/> APIs. Because of the structure of the API, there is a named function for each type of available data for ease of use, as well as some functions designed to retrieve specific pieces of commonly used data. Functions for each new API will be added as and when they become available.
An R package to automatically fetch data from the UK Parliament API. Ironically, Hansard data is not yet accessible through the API. To explore all available data see http://www.data.parliament.uk/. Help on the API itself is here: http://api.data.parliament.uk/help/.
Like the UK parliament API, this package is a work in progress. Additional functionalities will be added to the package as they are developed in the API.
To install from CRAN (version 0.2.5) run:
To install the development version (version 0.3.4) run:
For an introduction to hansard, the vignette
vignette("introduction", package = "hansard") is the best place to start. If you are unfamiliar with APIs https://zapier.com/learn/apis/ is a helpful introduction.
Provides functions to download data from the data.parliament.uk APIs.
Because of the structure of the data.parliament.uk API, there is a named function for each type of available data for ease of use. Functions for each new API will be added as and when they become available on data.parliament.uk. See the package documentation for details on each function and the type of data available.