Learn R Programming

mnis (version 0.2.7)

mnis_base: A generic function for the MNIS API lookup. 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, but the mnis_tidy function can be called on the data returned from the API.

Description

A generic function for the MNIS API lookup. 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, but the mnis_tidy function can be called on the data returned from the API.

Usage

mnis_base(request)

Arguments

request

The request query being made to the MNIS URL

Examples

Run this code


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


Run the code above in your browser using DataLab