mnis_base: A generic function for the MNIS API lookup. The function...

Description Usage Arguments Examples

View source: R/mnis_base.R

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

1
mnis_base(request)

Arguments

request

The request query being made to the MNIS URL

Examples

1
2
3
4
5
6
## Not run: 

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


## End(Not run)

mnis documentation built on May 2, 2019, 11:02 a.m.