create_leaderdyadyears: Create leader-dyad-years from the Archigos data
Description
create_leaderdyadyears() allows you to created leader dyad-year data from the
Archigos data first introduced and described by Goemans et al. (2009).
Usage
create_leaderdyadyears(directed = TRUE, system = "gw")
Value
create_leaderdyadyears() takes remote data available for separate download
and returns a complete leader dyad-year data frame for all leaders, and all possible dyads,
from 1870 to 2015.
Arguments
directed
optional, defaults to TRUE. If TRUE, the function returns so-called
"directed" leader dyad-year data. If FALSE, the function returns
non-directed data where the state codes for the second leader are all greater than
the state codes for the second leader.
system
a character specifying whether the user wants Correlates of War
state-years ("cow") or Gleditsch-Ward ("gw") state-years. Gleditsch-Ward is the
default.
Author
Steven V. Miller
Details
This is a complete and universal leader dyad-year data frame for all possible dyadic
leader pairings from 1870 to 2015. This has several implications. First: these data are enormous. The
output is over 2 million rows long! Second: the time required to create these data from scratch would
take too long for a normal function call. This amounts to an unholy combination of data that are too large
for CRAN's disk space restrictions (5 MB) and too time-consuming to do from scratch every time. Thus, the
data are pre-generated and stored remotely. Check download_extdata() for more information.
References
Goemans, Henk E., Kristian Skrede Gleditsch, and Giacomo Chiozza. 2009. "Introducing Archigos: A Dataset of Political Leaders"
Journal of Peace Research 46(2): 269--83.
if (FALSE) {
# download_extdata()# ^ make sure you've run this first.# default is directedcreate_leaderdyadyears()
# non-directedcreate_leaderdyadyears(directed = FALSE)
}