p5_reg_cat {demcon}R Documentation

Code Polity Regime Classification

Description

Determine qualitative regime classifications based on Goldstone et al. (2010) Figure 1.

Usage

p5_reg_cat(exrec, parcomp, pretty = FALSE)

Arguments

exrec

Executive Recruitment Concept (exrec) variable from raw Polity5 data.

parcomp

Competitive of Participation (parcomp) variable from raw Polity5 data.

pretty

Logical to format categories with no spaces and first letter capitalized.

Value

A character vector of ordinal categorical regime classifications based on Goldstone et al. (2010).

Source

Methods for this function are adapted from:

Goldstone, J. A. et al. A Global Model for Forecasting Political Instability. American Journal of Political Science 54, 190– 208 (2010).

Website

Examples


polity<-demcon::get_polity5(write_out = FALSE)

polity$reg_cat<-demcon::p5_reg_cat(polity$exrec, polity$parcomp, pretty = TRUE)


[Package demcon version 0.3.0 Index]