Description Usage Arguments Details Value References Examples
Calculates XPOLITY (Vreeland 2008) scores and corrected interregnum scores (Pluemper and Neumayer 2010) for a current Polity IV dataset.
1 2 | recodepolity(file = "http://www.systemicpeace.org/inscr/p4v2013.sav",
option = "all")
|
file |
Path or URL to Polity IV data frame. Defaults to the URL for the current (2013) Polity IV .sav file. |
option |
Takes the values |
Depending on which option
the user provides different columns
are added to the dataset given by the file
argument.
all
adds the columns xrcomp_xpol
, xropen_xpol
, xconst_xpol
,
parreg_xpol
, parcomp_xpol
, xpolity
. The first five columns are the weighted components of
Polity IV, calculated according to Polity IV coding manual and Pluemper's (2008)
Stata
code. xpolity
represents the combined components without parreg_xpol
and parcomp_xpol
. The all
option also adds the columns polity2min
,
polity2max
, and polity2inter
, each representing Pluemper and
Neumayer's (2010) different options of recoding the polity2 intrregnum periods (for details
see Pluemper and Neumayer 2010).
The option xpolity
only adds the XPOLITY columns; the option inter only
adds the interregnum colums.
The option combined
adds columns with the suffixes _min
, _max
,
_inter
to the Polity IV subcomponents as well as the final xpolity
score.
This provides three different versions of the XPOLITY score, dependent on the
different recalculations (min
, max
, inter
) from Pluemper
and Neumayer.
Polity IV data frame with additional columns. Number & names of columns depend on user options (see above).
Marshall, Monty G., Keith Jaggers, and Ted Robert Gurr. 2010. "Polity IV project. Political regime characteristics and transitions, 1800-2010. Dataset user's manual." http://www.systemicpeace.org/inscr/p4manualv2010.pdf.
Pluemper, Thomas, and Eric Neumayer. 2010. "The level of democracy during interregnum periods: Recoding the polity2 score." Political Analysis 18(2): 206-226. http://pan.oxfordjournals.org/content/18/2/206
Vreeland, James Raymond. 2008. "The effect of political regime on civil war. Unpacking anocracy." Journal of Conflict Resolution 52(3): 401-425. http://jcr.sagepub.com/content/52/3/401
1 2 3 4 5 | ## Not run:
# basic usage; assigns the recoded Polity dataset to the data frame 'polity'
polity <- recodepolity()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.