Constructs reproducible country-year panels for research on contentious politics and civil conflict, as described in Guseinov (2026) <doi:10.2139/ssrn.7506799>. Functions build state panels keyed by Correlates of War or Gleditsch-Ward country codes and join curated socioeconomic, leadership, democracy, conflict, protest, and revolutionary-episode data on that common key, with diagnostics and plots for comparing source coverage. Bundled sources include Gapminder; the Nonviolent and Violent Campaigns and Outcomes (NAVCO) 2.1 data, Chenoweth and Shay (2019) <doi:10.7910/DVN/MHOXDV>; the Social Conflict Analysis Database, Salehyan et al. (2012) <doi:10.1080/03050629.2012.697426>; the Uppsala Conflict Data Program and Peace Research Institute Oslo (UCDP/PRIO) Armed Conflict Dataset, Gleditsch et al. (2002) <doi:10.1177/0022343302039005007>; and the Major Episodes of Contention data, Chenoweth and Kang (2026) <doi:10.1093/jopres/xjaf008>. Varieties of Democracy (V-Dem) indicators require the optional 'vdemdata' package, which is not on CRAN and can be installed from <https://github.com/vdeminstitute/vdemdata>.
| Version: | 0.1.0 |
| Depends: | R (≥ 4.1.0) |
| Imports: | countrycode, dplyr, readr, states, stats, tidyr |
| Suggests: | brglm2, ggplot2, knitr, peacesciencer (≥ 1.2.0), readxl, rmarkdown, testthat (≥ 3.0.0), vdemdata |
| Published: | 2026-10-15 |
| DOI: | 10.32614/CRAN.package.contentiousR (may not be active yet) |
| Author: | Ruslan Guseinov |
| Maintainer: | Ruslan Guseinov <rigusseinov at gmail.com> |
| BugReports: | https://github.com/rguseinov/contentiousR/issues |
| License: | MIT + file LICENSE |
| Copyright: | See file COPYRIGHTS for the third-party data bundled in
inst/extdata. contentiousR copyright details |
| URL: | https://rguseinov.github.io/contentiousR/, https://github.com/rguseinov/contentiousR |
| NeedsCompilation: | no |
| Citation: | contentiousR citation info |
| Materials: | README, NEWS |
| CRAN checks: | contentiousR results |
| Reference manual: | contentiousR.html , contentiousR.pdf |
| Vignettes: |
Usage example: modeling revolutionary onset (source, R code) Get started with contentiousR (source, R code) Data sources and interpretation (source) Comparing revolutionary-event datasets (source, R code) |
| Package source: | contentiousR_0.1.0.tar.gz |
| Windows binaries: | r-devel: not available, r-release: not available, r-oldrel: not available |
| macOS binaries: | r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available |
Please use the canonical form https://CRAN.R-project.org/package=contentiousR to link to this page.