Learn R Programming

peacesciencer (version 0.4.0)

add_atop_alliance: Add Alliance Treaty Obligations and Provisions (ATOP) alliance data to a dyad-year data frame

Description

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

Usage

add_atop_alliance(data)

Arguments

data

a dyad-year data frame (either "directed" or "non-directed")

Value

add_atop_alliance() takes a 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 the data.

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.

Examples

Run this code
# NOT RUN {
# just call `library(tidyverse)` at the top of the your script
library(magrittr)

cow_ddy %>% add_atop_alliance()

# }

Run the code above in your browser using DataLab