The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
twfy
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.
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.
Install twfy
using devtools
:
devtools::install_github("conjugateprior/twfy")
If this does not work
install.packages("devtools")
and try again.
In general, API call results are returned as json
, then
parsed into nested data.frame
s and list
s using
jsonlite
. One exception is getBoundary
which
returns a string of KML.
Package documentation is incomplete. A more nearly complete set of documentation can be found from the API source.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.