igo_dyadic | R Documentation |
Dyadic version of the data. The unit of observation is a dyad of countries. It provides a summary of the joint memberships of two IGOs over time.
igo_dyadic(country1, country2, year = 1816:2014, ioname = NULL)
country1 |
A single state, used as a base of comparison. It could be any valid name or code of a state as specified on states2016. |
country2 |
A state of vector of states to be compared with
|
year |
Year to be assessed, an integer or an array of year. |
ioname |
Optional. |
This function tries to replicate the information contained in the original
file distributed by The Correlates of War Project
(dyadic_format3.dta
). That file is not included in this package due
to its size.
The result is a data frame containing the common years of the states
selected via country1, country2, year
by rows.
An additional column dyadid
, computed as (1000*ccode1)+ccode2
is provided in order to identify relationships.
For each IGO selected via ioname
(or all if the default
option has been used) a column (using lowercase ioname
as
identifier) is provided with the following code system:
Category | Numerical Value |
No Joint Membership | 0 |
Joint Full Membership | 1 |
Missing data | -9 |
State Not System Member | -1 |
If one state in an IGO is a full member but the other is an associate member or observer, that IGO is not coded as a joint membership.
Differences with the original dataset
There are some differences on the results provided by this function and the original dataset on some IGOs regarding the "Missing Data" (-9) and "State Not System Member" (-1). However it is not clear how to fully replicate those values.
See Codebook Version 3 IGO Data
A coded data frame representing the years and country dyad (rows) and the IGOs selected (columns). See Details
Codebook Version 3 IGO Data for full reference.
Pevehouse, Jon CW, Timothy Nordstrom, Roseanne W McManus, and Anne Spencer Jamison. "Tracking Organizations in the World: The Correlates of War IGO Version 3.0 Datasets." Journal of Peace Research 57, no. 3 (May 2020): 492-503.
state_year_format3, states2016,
igo_search()
.
usa_esp <- igo_dyadic("USA", "Spain")
nrow(usa_esp)
ncol(usa_esp)
dplyr::tibble(usa_esp)
# Using custom parameters
custom <- igo_dyadic(
country1 = "France",
country2 =
c("Sweden", "Austria"),
year = 1992:1995,
ioname = "EU"
)
dplyr::tibble(custom)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.