Skip to content
This R package applies the corrections to the Polity coding according to Vreeland (2008) and Plümper & Neumayer (2010)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
man
.Rbuildignore
.gitignore
DESCRIPTION
LICENSE
NAMESPACE
README.md
recode_polity.Rproj

README.md

recodepolity

This R package applies the corrections to the Polity coding according to Vreeland (2008) and Plümper & Neumayer (2010)

You can install it through

install.packages("devtools")
library(devtools)
install_github("felixhaass/recodepolity", dependencies = TRUE)
library(recodepolity)

Basic Use

output_df <- recodepolity(file = "http://www.systemicpeace.org/inscr/p4v2015.sav")

output_df contains all the recoded variables, for variable names see help(recodepolity)

You can’t perform that action at this time.