Learn R Programming

manifestoR (version 1.6.1)

mpdb_api_request: Manifesto Project DB API request

Description

gets the requested url and passes HTTP header error codes on to raise R errors with the same text

Usage

mpdb_api_request(file, body, apikey = NULL)

Arguments

file

file to request below apiroot url

body

body text of the posted request: should contain the parameters as specified by the Manifesto Project Database API

apikey

API key to use, defaults to NULL, which means no key is provided