manifestoR (version 1.2.4)

mp_use_corpus_version: Use a specific version of the Manifesto Project Corpus

Description

The internal cache of manifestoR will be updated to the specified version and all future calls to the API will request for the specified version. Note that this versioning applies to the corpus' texts and metadata, and not the versions of the core dataset. For this see mp_coreversions

Usage

mp_use_corpus_version(versionid, apikey = NULL)

Arguments

versionid

character id of the version to use (as received from API and mp_corpusversions)

apikey

API key to use. Defaults to NULL, resulting in using the API key set via mp_setapikey.