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:

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 https://zapier.com/learn/apis/ 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.