p5_reg_cat: Code Polity Regime Classification

View source: R/p5_reg_cat.R

p5_reg_catR 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)


demcon documentation built on March 31, 2023, 10:27 p.m.