mnis_base {mnis}R Documentation

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

## Not run: 

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

## End(Not run)


[Package mnis version 0.3.1 Index]