knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "README-"
)

mnis

License: MIT CRAN_Status_Badge GitHub tag Travis-CI Build Status AppVeyor Build Status Coverage Status DOI

mnis is a package for downloading data from the Members' Names Information Service API. For information on the API is available here: http://data.parliament.uk/membersdataplatform/default.aspx.

The package is available on CRAN. To install from CRAN run:

install.packages("mnis")

Or, if using the pacman package:

pacman::p_load(mnis)

The most recent version on GitHub can be installed by running:

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

The most up to date documentation for the development version will always be available at https://docs.evanodell.com/mnis/

For an introduction to mnis, the vignette vignette("introduction", package = "mnis") is the best place to start. If you are unfamiliar with APIs this tutorial from Zapier is a helpful introduction.

Future Functions

As the Members' Names Information Service has dozens of different search parameters and hundreds of possible combinations of searches, it is not reasonable to build functions for every possible query to the API. However, I will be rolling out functions for potentially common queries as and when I can. If you have any particular queries you would like functions for please let me know and I'll create it.



EvanOdell/mnis documentation built on March 21, 2018, 10:52 p.m.