Skip to contents

add_atop_alliance() allows you to add Alliance Treaty Obligations and Provisions (ATOP) data to a (dyad-year, leader-dyad-year) data frame.

Usage

add_atop_alliance(data)

Arguments

data

a data frame with appropriate peacesciencer attributes

Value

add_atop_alliance() takes a (dyad-year, leader-dyad-year) data frame and adds information about the alliance pledge in that given dyad-year from the ATOP data. These include whether there was an alliance with a defense pledge, an offense pledge, neutrality pledge, non-aggression pledge, or pledge for consultation in time of crisis.

Details

Data are from version 5.0 of ATOP.

This function will also work with leader-dyad-years, though users should be careful with leader-level applications of alliance data. Alliance data are primarily communicated yearly, making it possible---even likely---that at least one leader-dyad in a given year is credited with an alliance that was not active in the particular leader-dyad. The ATOP alliance data are not communicated with time measurements more granular than the year, at least for dyad-years. The alliance-level data provided by ATOP do have termination dates, but I am unaware how well these start and termination dates coincide with particular members joining after the fact or exiting early. The alliance phase data appear to communicate that "phases" are understood as beginning/ending when the underlying document is amended in such a way that it affects one of their variable codings, but this may or may not be because of a signatory joining after the fact or exiting early. More guidance will be useful going forward, but use these data for leader-level analyses with that in mind.

References

Leeds, Brett Ashley, Jeffrey M. Ritter, Sara McLaughlin Mitchell, and Andrew G. Long. 2002. Alliance Treaty Obligations and Provisions, 1815-1944. International Interactions 28: 237-60.

Author

Steven V. Miller

Examples


# just call `library(tidyverse)` at the top of the your script
library(magrittr)

cow_ddy %>% add_atop_alliance()
#> Joining with `by = join_by(ccode1, ccode2, year)`
#> # A tibble: 2,139,270 × 8
#>    ccode1 ccode2  year atop_defense atop_offense atop_neutral atop_nonagg
#>     <dbl>  <dbl> <dbl>        <dbl>        <dbl>        <dbl>       <dbl>
#>  1      2     20  1920            0            0            0           0
#>  2      2     20  1921            0            0            0           0
#>  3      2     20  1922            0            0            0           0
#>  4      2     20  1923            0            0            0           0
#>  5      2     20  1924            0            0            0           0
#>  6      2     20  1925            0            0            0           0
#>  7      2     20  1926            0            0            0           0
#>  8      2     20  1927            0            0            0           0
#>  9      2     20  1928            0            0            0           0
#> 10      2     20  1929            0            0            0           0
#> # ℹ 2,139,260 more rows
#> # ℹ 1 more variable: atop_consul <dbl>