From ad834f51062a3062cdbc63f87640ff67a33bc5dc Mon Sep 17 00:00:00 2001
From: svmiller R
Allen Hicken, Anna Luhrmann, Kyle L. Marquardt, Kelly McMann, Pamela
Paxton, Daniel Pemstein, Brigitte Seim, Rachel Sigman, Svend-Erik
Skaaning, Jeffrey Staton, Agnes Cornell, Lisa Gastaldi, Haakon Gjerlow,
-Valeriya Mechkova, Johannes von Römer, Aksel Sundtrom, Eitan Tzelgov,
+Valeriya Mechkova, Johannes von Romer, Aksel Sundtrom, Eitan Tzelgov,
Luca Uberti, Yi-ting Wang, Tore Wig, and Daniel Ziblatt. 2020.
"V-Dem Codebook v10" Varieties of Democracy (V-Dem) Project.
Marshall, Monty G., Ted Robert Gurr, and Keith Jaggers. 2017. @@ -235,7 +235,14 @@
#> +#>#>+#> +#>#>+#> +#>#>+#> +#>cow_ddy %>% add_democracy()#> # A tibble: 2,063,610 × 9 #> ccode1 ccode2 year v2x_polyarchy1 polity21 xm_qudsest1 v2x_polyarchy2 diff --git a/docs/reference/add_igos.html b/docs/reference/add_igos.html index 208a40c9..0379ffff 100644 --- a/docs/reference/add_igos.html +++ b/docs/reference/add_igos.html @@ -186,7 +186,7 @@Value
the Correlates of War International Governmental Organizations data. If the data are dyad-year, the function returns the original data with just one additional column for the total number of mutual IGOs for which both members of the dyad are full members. If the data are state-year, the function returns the original data with four additional columns. These are -the number oF IGOs for which the state is a full member, the number of IGOs for which the state is an associate member, the +the number of IGOs for which the state is a full member, the number of IGOs for which the state is an associate member, the number of IGOs for which the state is an observer, and the number of IGOs for which the state is involved in any way (i.e. the sum of the other three columns).Details
diff --git a/docs/reference/add_ucdp_acd.html b/docs/reference/add_ucdp_acd.html index 847600fa..45683b2c 100644 --- a/docs/reference/add_ucdp_acd.html +++ b/docs/reference/add_ucdp_acd.html @@ -207,9 +207,9 @@Details
Right now, only state-year data are supported. Function is in true pilot mode.
References
-Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +
Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. Journal of Peace Research 39(5): 615–637.
-Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +
Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. Journal of Peace Research 56(4): 589-603.
Author
@@ -221,12 +221,7 @@Examp # just call `library(tidyverse)` at the top of the your script library(magrittr) library(dplyr) -
#> -#>#>-#> -#>#>-#> -#>+ create_stateyears(system = "gw") %>% filter(between(year, 1946, 2019)) %>% add_ucdp_acd() diff --git a/docs/reference/add_ucdp_onsets.html b/docs/reference/add_ucdp_onsets.html index 20069d5b..6799c222 100644 --- a/docs/reference/add_ucdp_onsets.html +++ b/docs/reference/add_ucdp_onsets.html @@ -197,9 +197,9 @@diff --git a/docs/reference/ucdp_onsets.html b/docs/reference/ucdp_onsets.html index b25bbc98..40d530e2 100644 --- a/docs/reference/ucdp_onsets.html +++ b/docs/reference/ucdp_onsets.html @@ -192,9 +192,9 @@Details into summaries. The user will probably want to consider some kind of recoding here.
References
-Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +
Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. Journal of Peace Research 39(5): 615–637.
-Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +
Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. Journal of Peace Research 56(4): 589-603.
Author
diff --git a/docs/reference/archigos.html b/docs/reference/archigos.html index 8af0f6a1..781f818e 100644 --- a/docs/reference/archigos.html +++ b/docs/reference/archigos.html @@ -191,21 +191,29 @@FormatDetails
-Space considerations mean I can only offer a few columns from the overall data. Archigos data are rich with information. Consult -the raw data available on Hein Goeman's website for more.
-To best conform with data requirements on CRAN, a few leader names were renamed if they included irregular -characters (e.g. umlauts or accents). These leaders are "(Juan Orlando) Hernández" (
-HON-2014
), -"(Antonio) Saca González" (SAL-2004
), "Julián Trujillo Largacha" (COL-1878
), "César Gaviria Trujillo" -(COL-1990
), "Gabriel García Moreno" (ECU-1869
), "Marcos A. Morínigo" (PAR-1894-1
), "Higinio Morínigo" (PAR-1940
), -"Sebastián Piñera" (CHL-2010
), "Sauli Niinistö" (FIN-2012
), "Louis Gerhard De Geer" (SWD-1876
), -"Stefan Löfven" (SWD-2014
), "Lars Løkke Rasmussen" (DEN-2009
,DEN-2015
), and "Fernando de Araújo" -(ETM-2008-1
). None of these names contain these special characters in the data here.For clarity's sake, I renamed the
+ccode
column in the raw data to begwcode
. This is because it may deceive the user peeking into -the data that these are not Correlates of War state codes, but Gleditsch-Ward state codes.Space considerations mean I can only offer a few columns from the +overall data. Archigos data are rich with information. Consult the raw data +available on Hein Goeman's website for more.
+To best conform with data requirements on CRAN, a few leader names were +renamed if they included irregular characters (e.g. umlauts or accents). +These leaders, in these particular applications, hav been renamed to "(Juan +Orlando) Hernandez" (
+HON-2014
), "(Antonio) Saca Gonzalez" (SAL-2004
), +"Julian Trujillo Largacha" (COL-1878
), "Cesar Gaviria Trujillo" +(COL-1990
), "Gabriel Garcia Moreno" (ECU-1869
), "Marcos A. Morinigo" +(PAR-1894-1
), "Higinio Morinigo" (PAR-1940
), "Sebastian Pinera" +(CHL-2010
), "Sauli Niinisto" (FIN-2012
), "Louis Gerhard De Geer" +(SWD-1876
), "Stefan Lofven" (SWD-2014
), "Lars Lokke Rasmussen" +(DEN-2009
,DEN-2015
), and "Fernando de Araujo" (ETM-2008-1
). None of +these names contain these special characters in the data here.For clarity's sake, I renamed the
ccode
column in the raw data to be +gwcode
. This is because it may deceive the user peeking into the data +that these are not Correlates of War state codes, but Gleditsch-Ward +state codes.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.
+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.
Details particular application
References
-Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +
Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. Journal of Peace Research 39(5): 615–637.
-Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +
Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. Journal of Peace Research 56(4): 589-603.
diff --git a/man/add_democracy.Rd b/man/add_democracy.Rd index 1921cf6e..07ae75e4 100644 --- a/man/add_democracy.Rd +++ b/man/add_democracy.Rd @@ -61,7 +61,7 @@ Jan Teorell, David Altman, Michael Bernhard, M. Steven Fish, Adam Glynn, Allen Hicken, Anna Luhrmann, Kyle L. Marquardt, Kelly McMann, Pamela Paxton, Daniel Pemstein, Brigitte Seim, Rachel Sigman, Svend-Erik Skaaning, Jeffrey Staton, Agnes Cornell, Lisa Gastaldi, Haakon Gjerlow, -Valeriya Mechkova, Johannes von Römer, Aksel Sundtrom, Eitan Tzelgov, +Valeriya Mechkova, Johannes von Romer, Aksel Sundtrom, Eitan Tzelgov, Luca Uberti, Yi-ting Wang, Tore Wig, and Daniel Ziblatt. 2020. "V-Dem Codebook v10" Varieties of Democracy (V-Dem) Project. diff --git a/man/add_igos.Rd b/man/add_igos.Rd index 13e6b78b..eaa59d76 100644 --- a/man/add_igos.Rd +++ b/man/add_igos.Rd @@ -14,7 +14,7 @@ add_igos(data) the Correlates of War International Governmental Organizations data. If the data are dyad-year, the function returns the original data with just one additional column for the total number of mutual IGOs for which both members of the dyad are full members. If the data are state-year, the function returns the original data with four additional columns. These are -the number oF IGOs for which the state is a full member, the number of IGOs for which the state is an associate member, the +the number of IGOs for which the state is a full member, the number of IGOs for which the state is an associate member, the number of IGOs for which the state is an observer, and the number of IGOs for which the state is involved in any way (i.e. the sum of the other three columns). } diff --git a/man/add_ucdp_acd.Rd b/man/add_ucdp_acd.Rd index b74c3340..3a26529f 100644 --- a/man/add_ucdp_acd.Rd +++ b/man/add_ucdp_acd.Rd @@ -52,10 +52,10 @@ add_ucdp_acd(type = "intrastate", issue = "government") } \references{ -Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. \emph{Journal of Peace Research} 39(5): 615–637. -Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. \emph{Journal of Peace Research} 56(4): 589-603. } \author{ diff --git a/man/add_ucdp_onsets.Rd b/man/add_ucdp_onsets.Rd index dce5b6d2..a8d76c0f 100644 --- a/man/add_ucdp_onsets.Rd +++ b/man/add_ucdp_onsets.Rd @@ -51,10 +51,10 @@ create_stateyears(system="gw") \%>\% } \references{ -Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. \emph{Journal of Peace Research} 39(5): 615–637. -Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. \emph{Journal of Peace Research} 56(4): 589-603. } \author{ diff --git a/man/archigos.Rd b/man/archigos.Rd index 8cf04d42..2a30c2d1 100644 --- a/man/archigos.Rd +++ b/man/archigos.Rd @@ -28,22 +28,30 @@ These are leader-level data drawn from the Archigos data. Space considerations m based on these data. Data are version 4.1. } \details{ -Space considerations mean I can only offer a few columns from the overall data. Archigos data are rich with information. Consult -the raw data available on Hein Goeman's website for more. +Space considerations mean I can only offer a few columns from the +overall data. Archigos data are rich with information. Consult the raw data +available on Hein Goeman's website for more. -To best conform with data requirements on CRAN, a few leader names were renamed if they included irregular -characters (e.g. umlauts or accents). These leaders are "(Juan Orlando) Hernández" (\code{HON-2014}), -"(Antonio) Saca González" (\code{SAL-2004}), "Julián Trujillo Largacha" (\code{COL-1878}), "César Gaviria Trujillo" -(\code{COL-1990}), "Gabriel García Moreno" (\code{ECU-1869}), "Marcos A. Morínigo" (\code{PAR-1894-1}), "Higinio Morínigo" (\code{PAR-1940}), -"Sebastián Piñera" (\code{CHL-2010}), "Sauli Niinistö" (\code{FIN-2012}), "Louis Gerhard De Geer" (\code{SWD-1876}), -"Stefan Löfven" (\code{SWD-2014}), "Lars Løkke Rasmussen" (\code{DEN-2009}, \code{DEN-2015}), and "Fernando de Araújo" -(\code{ETM-2008-1}). None of these names contain these special characters in the data here. +To best conform with data requirements on CRAN, a few leader names were +renamed if they included irregular characters (e.g. umlauts or accents). +These leaders, in these particular applications, hav been renamed to "(Juan +Orlando) Hernandez" (\code{HON-2014}), "(Antonio) Saca Gonzalez" (\code{SAL-2004}), +"Julian Trujillo Largacha" (\code{COL-1878}), "Cesar Gaviria Trujillo" +(\code{COL-1990}), "Gabriel Garcia Moreno" (\code{ECU-1869}), "Marcos A. Morinigo" +(\code{PAR-1894-1}), "Higinio Morinigo" (\code{PAR-1940}), "Sebastian Pinera" +(\code{CHL-2010}), "Sauli Niinisto" (\code{FIN-2012}), "Louis Gerhard De Geer" +(\code{SWD-1876}), "Stefan Lofven" (\code{SWD-2014}), "Lars Lokke Rasmussen" +(\code{DEN-2009}, \code{DEN-2015}), and "Fernando de Araujo" (\code{ETM-2008-1}). None of +these names contain these special characters in the data here. -For clarity's sake, I renamed the \code{ccode} column in the raw data to be \code{gwcode}. This is because it may deceive the user peeking into -the data that these are not Correlates of War state codes, but Gleditsch-Ward state codes. +For clarity's sake, I renamed the \code{ccode} column in the raw data to be +\code{gwcode}. This is because it may deceive the user peeking into the data +that these are not Correlates of War state codes, but Gleditsch-Ward +state codes. } \references{ -Goemans, Henk E., Kristian Skrede Gleditsch, and Giacomo Chiozza. 2009. "Introducing Archigos: A Dataset of Political Leaders" -\emph{Journal of Peace Research} 46(2): 269--83. +Goemans, Henk E., Kristian Skrede Gleditsch, and Giacomo Chiozza. 2009. "Introducing +Archigos: A Dataset of Political Leaders" \emph{Journal of Peace Research} +46(2): 269--83. } \keyword{datasets} diff --git a/man/atop_alliance.Rd b/man/atop_alliance.Rd index 519c10ef..411304a6 100644 --- a/man/atop_alliance.Rd +++ b/man/atop_alliance.Rd @@ -14,7 +14,7 @@ A data frame with 272,046 observations on the following eight variables. \item{\code{atop_offense}}{a numeric vector that equals 1 if there was an alliance observed with a offense pledge} \item{\code{atop_neutral}}{a numeric vector that equals 1 if there was an alliance observed with a neutrality pledge} \item{\code{atop_nonagg}}{a numeric vector that equals 1 if there was an alliance observed with a non-aggression pledge} -\item{\code{atop_consul}}{a numeric vector that equals 1 if there was an alliance obeserved with a consultation pledge} +\item{\code{atop_consul}}{a numeric vector that equals 1 if there was an alliance observed with a consultation pledge} } } \usage{ diff --git a/man/ccode_democracy.Rd b/man/ccode_democracy.Rd index e3baba0e..679fbffd 100644 --- a/man/ccode_democracy.Rd +++ b/man/ccode_democracy.Rd @@ -32,7 +32,7 @@ Jan Teorell, David Altman, Michael Bernhard, M. Steven Fish, Adam Glynn, Allen Hicken, Anna Luhrmann, Kyle L. Marquardt, Kelly McMann, Pamela Paxton, Daniel Pemstein, Brigitte Seim, Rachel Sigman, Svend-Erik Skaaning, Jeffrey Staton, Agnes Cornell, Lisa Gastaldi, Haakon Gjerlow, -Valeriya Mechkova, Johannes von Römer, Aksel Sundtrom, Eitan Tzelgov, +Valeriya Mechkova, Johannes von Romer, Aksel Sundtrom, Eitan Tzelgov, Luca Uberti, Yi-ting Wang, Tore Wig, and Daniel Ziblatt. 2020. "V-Dem Codebook v10" Varieties of Democracy (V-Dem) Project. diff --git a/man/gwcode_democracy.Rd b/man/gwcode_democracy.Rd index 601971a6..deb02dfc 100644 --- a/man/gwcode_democracy.Rd +++ b/man/gwcode_democracy.Rd @@ -32,7 +32,7 @@ Jan Teorell, David Altman, Michael Bernhard, M. Steven Fish, Adam Glynn, Allen Hicken, Anna Luhrmann, Kyle L. Marquardt, Kelly McMann, Pamela Paxton, Daniel Pemstein, Brigitte Seim, Rachel Sigman, Svend-Erik Skaaning, Jeffrey Staton, Agnes Cornell, Lisa Gastaldi, Haakon Gjerlow, -Valeriya Mechkova, Johannes von Römer, Aksel Sundtrom, Eitan Tzelgov, +Valeriya Mechkova, Johannes von Romer, Aksel Sundtrom, Eitan Tzelgov, Luca Uberti, Yi-ting Wang, Tore Wig, and Daniel Ziblatt. 2020. "V-Dem Codebook v10" Varieties of Democracy (V-Dem) Project. diff --git a/man/ucdp_acd.Rd b/man/ucdp_acd.Rd index 2dc8e0eb..b4fafbd2 100644 --- a/man/ucdp_acd.Rd +++ b/man/ucdp_acd.Rd @@ -34,10 +34,10 @@ These are (kind of) dyadic, but mostly state-level data, used internally for doi The \code{data-raw} directory on the project's Github will show how I processed the multiple strings for when there are multiple states on a given side. } \references{ -Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. \emph{Journal of Peace Research} 39(5): 615–637. -Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. Journal of Peace Research 56(4): 589-603. } \keyword{datasets} diff --git a/man/ucdp_onsets.Rd b/man/ucdp_onsets.Rd index 44de417f..af343943 100644 --- a/man/ucdp_onsets.Rd +++ b/man/ucdp_onsets.Rd @@ -30,10 +30,10 @@ these data can do for the package's mission is provide summary information. The particular application } \references{ -Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Håvard Strand (2002) +Gleditsch, Nils Petter; Peter Wallensteen, Mikael Eriksson, Margareta Sollenberg & Havard Strand (2002) Armed Conflict 1946–2001: A New Dataset. \emph{Journal of Peace Research} 39(5): 615–637. -Pettersson, Therese; Stina Högbladh & Magnus Öberg (2019). Organized violence, 1989-2018 and peace +Pettersson, Therese; Stina Hogbladh & Magnus Oberg (2019). Organized violence, 1989-2018 and peace agreements. Journal of Peace Research 56(4): 589-603. } \keyword{datasets}