Package: contentiousR
Type: Package
Title: Contentious Politics and Civil Conflict Research
Version: 0.1.0
Authors@R: 
    person("Ruslan", "Guseinov", email = "rigusseinov@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0009-0000-1156-9495"))
Description: 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>.
License: MIT + file LICENSE
Copyright: See file COPYRIGHTS for the third-party data bundled in
        inst/extdata.
Encoding: UTF-8
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
Config/testthat/edition: 3
VignetteBuilder: knitr
URL: https://rguseinov.github.io/contentiousR/,
        https://github.com/rguseinov/contentiousR
BugReports: https://github.com/rguseinov/contentiousR/issues
Config/Needs/website: r-lib/pkgdown
LazyData: true
Config/roxygen2/version: 8.1.0
NeedsCompilation: no
Packaged: 2026-10-04 11:44:56 UTC; manin
Author: Ruslan Guseinov [aut, cre] (ORCID:
    <https://orcid.org/0009-0000-1156-9495>)
Maintainer: Ruslan Guseinov <rigusseinov@gmail.com>
Repository: CRAN
Date/Publication: 2026-10-15 16:20:09 UTC
