An R package that lightly wraps TheyWorkForYou's API
R
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
docs
man
vignettes
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
NAMESPACE
NEWS.md
README.md
cran-comments.md
twfy.Rproj

README.md

twfy

Travis-CI Build Status CRAN_Status_Badge

This package wraps TheyWorkForYou's API for R. TheyWorkForYou is a parliamentary monitoring site that scrapes and repackages Hansard (the UK's parliamentary record) and augments it with information from the Register of Members' Interests, election results, and voting records to provide a unified source of information about UK legislators and their activities.

Set up

You'll need an API key to. Get it here.

Your first API call (or call to set_api_key) will prompt you to paste it into the R console, after which it will be available for all future R sessions.

Installation

install.packages("twfy")

or you can install the latest develeopment version from Github using devtools:

devtools::install_github("conjugateprior/twfy")

Documentation

Package documentation is incomplete. A more nearly complete set of documentation can be found from the API source.