Learn R Programming

mnis (version 0.3.1)

mnis_base: A generic function for the MNIS API

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

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

Run this code
# NOT RUN {
x <- mnis_base("House=Commons|IsEligible=true/")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab