Provides Easy Downloading Capabilities for the UK Parliament API

Description: 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:

install.packages("hansard")

To install the development version (version 0.3.4) run:

install.packages("devtools")
devtools::install_github("EvanOdell/hansard")

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.

News

hansard 0.2.5

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.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("hansard")

0.4.0 by Evan Odell, 2 months ago


https://github.com/EvanOdell/hansard


Report a bug at https://github.com/EvanOdell/hansard/issues


Browse source code at https://github.com/cran/hansard


Authors: Evan Odell [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports httr, jsonlite, dplyr

Suggests knitr, rmarkdown, testthat, covr


Imported by parlitools.


See at CRAN