felixhaass / recodepolity

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

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

License:MIT License


Languages

Language:R 100.0%