mp_view_originals

0th

Percentile

View original documents from the Manifesto Corpus Database

Original documents are opened in the system's browser window. All original documents are stored on the Manifesto Project Website and the URLs opened are all from this site.

Usage
mp_view_originals(ids, maxn = 5, apikey = NULL, cache = TRUE)
Arguments
ids

Information on which originals to view This can either be a list of partys (as ids) and dates of elections as given to mp_metadata or a ManifestoMetadata object (data.frame) as returned by mp_metadata. Alternatively, ids can be a logical expression specifying a subset of the Manifesto Project's main dataset. It will be evaluated within the data.frame returned by mp_maindataset such that all its variables and functions thereof can be used in the expression.

maxn

maximum number of documents to open simultaneously in browser, defaults to 5.

apikey

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

cache

Boolean flag indicating whether to use locally cached data if available. The original documents themselves are not cached locally, but the metadata required to find them is.

Aliases
  • mp_view_originals
Examples
# NOT RUN {
mp_view_originals(party == 41320 & date == 200909)
# }
Documentation reproduced from package manifestoR, version 1.2.4, License: GPL (>= 3)

Community examples

Looks like there are no examples yet.