Skip to contents

This a state-year panel in which the Gleditsch-Ward state system is the population of interest. They are matched, as well as one can, with their corollaries in the Correlates of War system. Its primary use is merging in data demarcated in Correlates of War state system codes when the primary system in use is the Gleditsch-Ward system.

Usage

gw_cw_panel

Format

A data frame with the following 6 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.

cw_statename

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

Details

The data-raw/ directory on Github contains more information about how these data were created. The code itself is derived from what peacesciencer did for its gw_cow_years data. It amounts to the creation of daily data for both systems before doing a "full join" on where there is the least friction: state abbreviations. This at least requires the least amount of clean-up.

Use of these data will merge only on the state code and year. The state abbreviations and state names are there for background information, where necessary/appropriate.

peacesciencer's documentation cautions that the differences between the two systems are obvious, if often overstated. Merging one into the other, where possible, will be unproblematic in almost all cases. The biggest headaches concern German unification, Yemeni unification, and the overall history of Serbia/Yugoslavia.

Examples


str(gw_cw_panel)
#> tibble [20,792 × 6] (S3: tbl_df/tbl/data.frame)
#>  $ stateabb    : chr [1:20792] "USA" "USA" "USA" "USA" ...
#>  $ year        : num [1:20792] 1816 1817 1818 1819 1820 ...
#>  $ gwcode      : num [1:20792] 2 2 2 2 2 2 2 2 2 2 ...
#>  $ ccode       : num [1:20792] 2 2 2 2 2 2 2 2 2 2 ...
#>  $ gw_statename: chr [1:20792] "United States of America" "United States of America" "United States of America" "United States of America" ...
#>  $ cw_statename: chr [1:20792] "United States of America" "United States of America" "United States of America" "United States of America" ...
head(gw_cw_panel)
#> # A tibble: 6 × 6
#>   stateabb  year gwcode ccode gw_statename             cw_statename            
#>   <chr>    <dbl>  <dbl> <dbl> <chr>                    <chr>                   
#> 1 USA       1816      2     2 United States of America United States of America
#> 2 USA       1817      2     2 United States of America United States of America
#> 3 USA       1818      2     2 United States of America United States of America
#> 4 USA       1819      2     2 United States of America United States of America
#> 5 USA       1820      2     2 United States of America United States of America
#> 6 USA       1821      2     2 United States of America United States of America