Description Usage Arguments Examples
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.
1 | mnis_base(request)
|
request |
The request query being made to the MNIS URL |
1 2 3 4 5 6 | ## Not run:
x <- mnis_base('House=Commons|IsEligible=true/')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.