|
18 | 18 | #' |
19 | 19 | #' @details |
20 | 20 | #' |
21 | | -#' The "master record" provided by the Correlates of War is "non-directed." I make |
22 | | -#' these data "directed" for convenience. |
23 | | -#' |
24 | | -#' For clarity, the contiguity codes range from 1 to 5. 1 = direct land contiguity. 2 = |
25 | | -#' separated by 12 miles of water or fewer (a la Stannis Baratheon). 3 = separated by |
26 | | -#' 24 miles of water or fewer (but more than 12 miles). 4 = separated by 150 miles |
27 | | -#' of water or fewer (but more than 24 miles). 5 = separated by 400 miles of water |
28 | | -#' or fewer (but more than 150 miles). Cases of separation by more than 400 miles |
29 | | -#' of water are here as 0. The documentation for `add_contiguity()` belabors why |
30 | | -#' you should not consider the contiguity variable as ordinal. |
| 21 | +#' The "master record" provided by the Correlates of War is "non-directed." I |
| 22 | +#' make these data "directed" for convenience. |
| 23 | +#' |
| 24 | +#' For clarity, the contiguity codes range from 1 to 5. 1 = direct land |
| 25 | +#' contiguity. 2 = separated by 12 miles of water or fewer (a la Stannis |
| 26 | +#' Baratheon). 3 = separated by 24 miles of water or fewer (but more than 12 |
| 27 | +#' miles). 4 = separated by 150 miles of water or fewer (but more than 24 miles). |
| 28 | +#' 5 = separated by 400 miles of water or fewer (but more than 150 miles). Cases |
| 29 | +#' of separation by more than 400 miles of water are here as 0. The documentation |
| 30 | +#' for [add_contiguity()] belabors why you should not consider the contiguity |
| 31 | +#' variable as ordinal. |
31 | 32 | #' |
32 | 33 | #' `stdate` and `enddate` are simple date formats of the original `begin` and |
33 | 34 | #' `end` columns in the raw data. Correlates of War communicates contiguity |
34 | 35 | #' periods in a basic year-month format (`YYYYMM`). It's just easier to process |
35 | 36 | #' an actual date, provided you're careful and know that the day I communicate |
36 | 37 | #' in these columns means absolutely nothing. |
37 | 38 | #' |
38 | | -#' The master record contains no entry for a non-continguous relationship, leaving |
| 39 | +#' The master record contains no entry for a non-continuous relationship, leaving |
39 | 40 | #' the user to figure that out for themselves. The data I provide here includes |
40 | 41 | #' information for non-contiguous relationships for all states that had, at least |
41 | 42 | #' at one point, a contiguous relationship. For example, there is just the one |
42 | 43 | #' entry a contiguous USA-Russia relationship (from Jan. 1959 to the end of the |
43 | | -#' data), but I also provide manual clarification of a non-contiguous relationship |
| 44 | +#' data), but I also provide manual clarification of a non-continuous relationship |
44 | 45 | #' before that. You can check the `data-raw` directory for how I do this. This |
45 | 46 | #' is necessary for a case like Myanmar-Philippines, in which a contiguity |
46 | 47 | #' relationship enters the data in 1963 (but only for September of that year). |
@@ -394,3 +395,141 @@ NULL |
394 | 395 | #' 24: 239-87. |
395 | 396 | #' |
396 | 397 | "cow_igo_sy" |
| 398 | + |
| 399 | +#' Correlates of War State System Membership Data (1816-2016) |
| 400 | +#' |
| 401 | +#' These are the Correlates of War state system membership data. |
| 402 | +#' |
| 403 | +#' @format A data frame with 243 observations on the following 10 variables. |
| 404 | +#' \describe{ |
| 405 | +#' \item{\code{stateabb}}{a character vector for the state abbreviation} |
| 406 | +#' \item{\code{ccode}}{a numeric vector for the Correlates of War country code} |
| 407 | +#' \item{\code{statenme}}{a character vector for the state name} |
| 408 | +#' \item{\code{styear}}{the start year in the system} |
| 409 | +#' \item{\code{stmonth}}{the start month in the system} |
| 410 | +#' \item{\code{stday}}{the start day in the system} |
| 411 | +#' \item{\code{endyear}}{the end year in the system} |
| 412 | +#' \item{\code{endmonth}}{the end month in the system} |
| 413 | +#' \item{\code{endday}}{the end day in the system} |
| 414 | +#' \item{\code{version}}{a version identifier} |
| 415 | +#' } |
| 416 | +#' |
| 417 | +#' @details |
| 418 | +#' |
| 419 | +#' Data are provided "as-is" with no additional re-cleaning before inclusion |
| 420 | +#' into this data set. |
| 421 | +#' |
| 422 | +#' The functions that previously used these data no longer use these data. |
| 423 | +#' They instead use a copy of the data in the \pkg{isard} package I also |
| 424 | +#' maintain. |
| 425 | +#' |
| 426 | +#' @references Correlates of War Project. 2017. "State System Membership |
| 427 | +#' List, v2016." Online, |
| 428 | +#' \url{https://correlatesofwar.org/data-sets/state-system-membership/} |
| 429 | +#' |
| 430 | +"cow_states" |
| 431 | + |
| 432 | + |
| 433 | + |
| 434 | + |
| 435 | +#' Correlates of War Intra-State War Data (v. 4.1) |
| 436 | +#' |
| 437 | +#' These are a modified version of the intra-state war data from the Correlates |
| 438 | +#' of War project. Data are version 4.1. The temporal domain is 1816-2007. |
| 439 | +#' |
| 440 | +#' @format A data frame with 1361 observations on the following 17 variables. |
| 441 | +#' \describe{ |
| 442 | +#' \item{\code{warnum}}{the Correlates of War war number} |
| 443 | +#' \item{\code{warname}}{the Correlates of War war name} |
| 444 | +#' \item{\code{wartype}}{a character vector for the type of war, either "local issues" or "central control"} |
| 445 | +#' \item{\code{year}}{a numeric vector for the year} |
| 446 | +#' \item{\code{cowintraonset}}{a dummy variable for whether this is a civil war onset (i.e. either the year in \code{StartYear1} or \code{StartYear2} in the raw data)} |
| 447 | +#' \item{\code{cowintraongoing}}{a numeric constant of 1} |
| 448 | +#' \item{\code{resume_combat}}{a dummy variable for whether this is a resumption of a conflict (i.e. \code{StartYear2} is not -8)} |
| 449 | +#' \item{\code{primary_state}}{a dummy variable for whether the state is the primary state having the civil war} |
| 450 | +#' \item{\code{ccodea}}{the Correlates of War state code for the participant on Side A. -8 = not applicable (participant is not a state)} |
| 451 | +#' \item{\code{sidea}}{the name of the participant on Side A. -8 = not applicable (no additional party on this side)} |
| 452 | +#' \item{\code{ccodeb}}{the Correlates of War state code for the participant on Side B. -8 = not applicable (participant is not a state)} |
| 453 | +#' \item{\code{sideb}}{the name of the participant on Side B. -8 = not applicable (no additional party on this side)} |
| 454 | +#' \item{\code{intnl}}{a dummy variable for if this is an internationalized civil war} |
| 455 | +#' \item{\code{outcome}}{an unordered-categorical variable for the outcome of the civil war. Values include 1 (Side A wins), |
| 456 | +#' 2 (Side B wins), 3 (Compromise), 4 (war transformed into another type of war), 5 (war is ongoing at the end of 2007), |
| 457 | +#' 6 (stalemate), 7 (conflict continues below severity of war)} |
| 458 | +#' \item{\code{sideadeaths}}{the estimated deaths for the Side A participant (-9 = unknown, -8 = not applicable)} |
| 459 | +#' \item{\code{sidebdeaths}}{the estimated deaths for the Side B participant (-9 = unknown, -8 = not applicable)} |
| 460 | +#' \item{\code{ongo2007}}{a dummy variable for if this war is ongoing as of the end of 2007} |
| 461 | +#' } |
| 462 | +#' |
| 463 | +#' @details See \code{data-raw} directory for how these data were generated. In |
| 464 | +#' the Guinea-Bissau Civil War (1998, 1999), the "Mane Junta" have the accented |
| 465 | +#' "e" scrubbed to coincide with CRAN's character requirements. |
| 466 | +#' |
| 467 | +#' @references |
| 468 | +#' |
| 469 | +#' Dixon, Jeffrey, and Meredith Sarkees. 2016. *A Guide to Intra-State Wars: An |
| 470 | +#' Examination of Civil Wars, 1816-2014.* Thousand Oaks, CA: Sage. |
| 471 | +#' |
| 472 | +#' Sarkees, Meredith Reid, and Frank Wheldon Wayman. 2010. *Resort to War: A Data |
| 473 | +#' Guide to Inter-State, Extra-State, Intra-State, and Non-State Wars, 1816-2007.* |
| 474 | +#' Washington DC: CQ Press. |
| 475 | +#' |
| 476 | + |
| 477 | +"cow_war_intra" |
| 478 | + |
| 479 | + |
| 480 | +#' Correlates of War Inter-State War Data (v. 4.0) |
| 481 | +#' |
| 482 | +#' These are a modified version of the inter-state war data from the Correlates |
| 483 | +#' of War project. Data are version 4.0. The temporal domain is 1816-2007. Data |
| 484 | +#' are functionally directed dyadic war-year. |
| 485 | +#' |
| 486 | +#' @format A data frame with 1932 observations on the following 15 variables. |
| 487 | +#' \describe{ |
| 488 | +#' \item{\code{warnum}}{the Correlates of War war number} |
| 489 | +#' \item{\code{ccode1}}{the Correlates of War state code for side1} |
| 490 | +#' \item{\code{ccode2}}{the Correlates of War state code for side2} |
| 491 | +#' \item{\code{year}}{a numeric vector for the year} |
| 492 | +#' \item{\code{cowinteronset}}{a dummy variable for whether this is an inter-state war onset (i.e. either the year in \code{StartYear1} or \code{StartYear2} in the raw data)} |
| 493 | +#' \item{\code{cowinterongoing}}{a numeric constant of 1} |
| 494 | +#' \item{\code{sidea1}}{a numeric vector for the side in the war for \code{ccode1}, either 1 or 2} |
| 495 | +#' \item{\code{sidea2}}{a numeric vector for the side in the war for \code{ccode2}, either 1 or 2} |
| 496 | +#' \item{\code{initiator1}}{a dummy variable that equals 1 if \code{ccode1} initiated the war} |
| 497 | +#' \item{\code{initiator2}}{a dummy variable that equals 1 if \code{ccode2} initiated the war} |
| 498 | +#' \item{\code{outcome1}}{the outcome for \code{ccode1} as numeric vector. Outcomes are 1 (winner), 2 (loser), 3 (compromise/tied), |
| 499 | +#' 4 (transformed into another type of war), 5 (ongoing at end of 2007, which is not observed in these data), 6 (stalemate), |
| 500 | +#' 7 (conflict continues below severity of war), and 8 (changed sides)} |
| 501 | +#' \item{\code{outcome2}}{the outcome for \code{ccode2} as numeric vector. Outcomes are 1 (winner), 2 (loser), 3 (compromise/tied), |
| 502 | +#' 4 (transformed into another type of war), 5 (ongoing at end of 2007, which is not observed in these data), 6 (stalemate), |
| 503 | +#' 7 (conflict continues below severity of war), and 8 (changed sides)} |
| 504 | +#' \item{\code{batdeath1}}{the estimated deaths for \code{ccode1} (-9 = unknown)} |
| 505 | +#' \item{\code{batdeath2}}{the estimated deaths for \code{ccode2} (-9 = unknown)} |
| 506 | +#' \item{\code{resume}}{a dummy variable that equals 1 if this is a conflict resumption episode} |
| 507 | +#' } |
| 508 | +#' |
| 509 | +#' @details |
| 510 | +#' |
| 511 | +#' See \code{data-raw} directory for how these data were generated. These data |
| 512 | +#' are here if you want it, but I caution against using them as gospel. There are |
| 513 | +#' a few problems here. One: -9s proliferate the data for battle deaths on either |
| 514 | +#' side, which is unhelpful. There are 10 cases where the sum of battle deaths is |
| 515 | +#' exactly 1,000 or 1,001. This is suspicious. The "side" variables are not |
| 516 | +#' well-explained---in fact they're not explained at all in the codebook---and |
| 517 | +#' this can lead a user astray if they want to interpret them analogous to the |
| 518 | +#' \code{sidea} variables in the Correlates of War Militarized Interstate Dispute |
| 519 | +#' data. You probably want to use the initiator variables for this. Further, the |
| 520 | +#' war data routinely betray the MID data and the two do not speak well to each |
| 521 | +#' other. The language Sarkees and Wayman (2010) use in their book talk about |
| 522 | +#' how MIDs "precede" a war or are "associated" with a war, which forgets the |
| 523 | +#' war data are supposed to be a subset of the MID data. In one case (Gulf War), |
| 524 | +#' they get the associated dispute number wrong and, in one prominent case (War |
| 525 | +#' of Bosnian Independence), they argue no MID exists at all (it's actually |
| 526 | +#' MID#3557). |
| 527 | +#' |
| 528 | +#' @references |
| 529 | +#' |
| 530 | +#' Sarkees, Meredith Reid, and Frank Wheldon Wayman. 2010. *Resort to War: A Data |
| 531 | +#' Guide to Inter-State, Extra-State, Intra-State, and Non-State Wars, 1816-2007.* |
| 532 | +#' Washington DC: CQ Press. |
| 533 | +#' |
| 534 | + |
| 535 | +"cow_war_inter" |
0 commit comments