Learn R Programming

⚠️There's a newer version (0.8.0) of this package.Take me there.

hansard: Accessing Westminster Parliament Data

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")

Using 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.

Copy Link

Version

Install

install.packages('hansard')

Monthly Downloads

30

Version

0.3.4

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Evan Odell evanodell91@gmail.com

Last Published

December 13th, 2016

Functions in hansard (0.3.4)

all_answered_questions

all_answered_questions
commons_answered_questions

commons_answered_questions
commons_written_questions

commons_written_questions
constituencies

constituencies
commons_division_date

commons_division_date
commons_divisions

commons_divisions
bills

bills
commons_oral_questions

commons_oral_questions
commons_terms

commons_terms
commons_oral_question_times

commons_oral_question_times
elections

elections
hansard

hansard: Provides Easy Downloading Capabilities for the UK Parliament API
lords_attendance

lords_attendance
epetition

epetition
hansard_basic

hansard_basic
lords_amendments

lords_amendments
lords_divisions

lords_divisions
early_day_motions

early_day_motions
election_results

election_results
hansard_generic

Hansard - Generic API Function
lords_written_questions

lords_written_questions
members_search

members_search
mp_questions

mp_questions
mp_edms

mp_edms
research_briefings

research_briefings
publication_logs

publication_logs
lords_vote_record

lords_vote_record
mp_vote_record

mp_vote_record
members

members
papers_laid

papers_laid
sessions_info

sessions_info
tv_programmes

tv_programmes