mnis_base: A generic function for the MNIS API

Description Usage Arguments Details Examples

View source: R/mnis_base.R

Description

The function requests data in JSON format, but the type of object, and all URLs, paths and parameters are user-defined. mnis_base does not include the option to tidy variable names and data types.

Usage

1
mnis_base(request)

Arguments

request

The request query being made to the MNIS URL.

Details

See the API documentation at http://data.parliament.uk/membersdataplatform/memberquery.aspx for details and limits on requests made to MNIS.

Examples

1
2
3
4
5
## Not run: 

x <- mnis_base("House=Commons|IsEligible=true/")

## End(Not run)

mnis documentation built on April 4, 2021, 1:06 a.m.