manifestoR (version 1.4.0)

get_mpdb: Download content from the Manifesto Database

Description

Internal implementation. For more convenient access and caching use one of mp_corpus, mp_availability, mp_maindataset.

Usage

get_mpdb(type, parameters = c(), versionid = NULL, apikey = NULL)

Arguments

type

string of "meta", "text", "original", "main", "versions" to indicate type of content to get

parameters

content filter parameters specific to type

versionid

character string specifying the corpus version to use, either a name or tag as in the respective columns of the value of mp_corpusversions and the API

apikey

API key to use, defaults to NULL, which means the key currently stored in the variable apikey of the environment mp_globalenv is used.