Learn R Programming

peacesciencer (version 0.4.0)

cow_gw_years: Correlates of War and Gleditsch-War states, by year

Description

This is a complete (I believe) data set on Correlates of War states and Gleditsch-Ward states, a byproduct of a full_join() between gw_states and cow_states that leans largely on the state abbreviation variable

Usage

cow_gw_years

Arguments

Format

A data frame with 18656 observations on the following 8 variables.

stateabb

the state abbreviation, which was the greatest source of agreement between both data sets

year

a numeric vector for the year

gwcode

a Gleditsch-Ward state code

ccode

a Correlates of War state code

gw_statename

the state name as it appears in the Gleditsch-Ward data

cow_statename

the state name as it appears in the Correlates of War data

Details

The data-raw directory on the project's Github contains more information about how these data were created. I'm going to use it for internal stuff. The workflow is going to treat the Correlates of War state system membership codes as more of the "master" codes, for which the user can add Gleditsch-Ward identifiers as they see fit.