manifestoR

ManifestoR is a free package for the open source statistical software R. It provides access to coded election programmes from the Manifesto Corpus and to the Manifesto Project's Main Dataset. The Manifesto Corpus contains the collected and annotated election programmes in the Corpus format of the package 'tm' to enable easy use of text processing and text mining functionality. Specific functions for scaling of coded political texts are included.

Functions

  • provides access to the Manifesto Corpus
  • transforms downloaded documents into corpus format (by tm package)
  • downloads and loads the main dataset in R
  • recodes new categories from handbook 5 into handbook 4 categories
  • allows using/browsing the category labels, abbreviations, and descriptions
  • Functions related to the main dataset:
    • rile (Laver & Budge 1992)
    • median voter (Kim & Fording 1998)
    • vanilla scaling (Gabel & Huber 2000)
    • Logration scaling (Lowe et al. 2011)
    • left-right positions (Franzmann & Kaiser 2006)
    • bootstrapped confidence-intervals (Benoit et al. 2009)
    • programmatic clarity (Giebler et al. 2015)
    • effective number of manifesto issues (Greene 2015)
    • two different measures of a party's nicheness (Bischof 2015, Meyer & Miller 2013)
  • Extensions (by others)
    • manifestoEnhanceR (by Hauke Licht): "The manifestoEnhanceR package implements functionality to enhance manifestoR data objects. This includes functions to convert manifestoR data objects to tidy data frames, and a function to convert tidy manifesto data frames to XML documents."

Prerequisites

  • R - Project for Statistical Computing
  • Manifesto Project Database Account (sign up on this webpage)
  • Manifesto Project Database API Key (login to your account, go to your profile page and generate an API key)

Installation

  • install.packages("manifestoR")
  • library(manifestoR)

Documentation

Contribute

You would like to contribute to the development of the package, eg. by integrating your preferred scaling procedure, fork manifestoR on github and/or get in touch with us.