{
  "_id": "6ad13bc229625c14e47ae30a",
  "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\non contentious politics and civil conflict, as described in\nGuseinov (2026) <doi:10.2139/ssrn.7506799>. Functions build\nstate panels keyed by Correlates of War or Gleditsch-Ward\ncountry codes and join curated socioeconomic, leadership,\ndemocracy, conflict, protest, and revolutionary-episode data on\nthat common key, with diagnostics and plots for comparing\nsource coverage. Bundled sources include Gapminder; the\nNonviolent and Violent Campaigns and Outcomes (NAVCO) 2.1 data,\nChenoweth and Shay (2019) <doi:10.7910/DVN/MHOXDV>; the Social\nConflict Analysis Database, Salehyan et al. (2012)\n<doi:10.1080/03050629.2012.697426>; the Uppsala Conflict Data\nProgram and Peace Research Institute Oslo (UCDP/PRIO) Armed\nConflict Dataset, Gleditsch et al. (2002)\n<doi:10.1177/0022343302039005007>; and the Major Episodes of\nContention data, Chenoweth and Kang (2026)\n<doi:10.1093/jopres/xjaf008>. Varieties of Democracy (V-Dem)\nindicators require the optional 'vdemdata' package, which is\nnot on CRAN and can be installed from\n<https://github.com/vdeminstitute/vdemdata>.",
  "License": "MIT + file LICENSE",
  "Copyright": "See file COPYRIGHTS for the third-party data bundled in\ninst/extdata.",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://rguseinov.github.io/contentiousR/,\nhttps://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": {
    "Date": "2026-10-15 20:39:56 UTC",
    "User": "root"
  },
  "Author": "Ruslan Guseinov [aut, cre] (ORCID:\n<https://orcid.org/0009-0000-1156-9495>)",
  "Maintainer": "Ruslan Guseinov <rigusseinov@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-10-15 16:20:09 UTC",
  "RemoteUrl": "https://github.com/cran/contentiousR",
  "RemoteRef": "HEAD",
  "RemoteSha": "32977158d0c743ffb9befbe469f59f68c6dc094d",
  "_user": "cran",
  "_type": "src",
  "_file": "contentiousR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e5ca1133642ae7220c4c7972146867eb719c51e230941b5478db8422d7e4dbab",
  "_filesize": 4892331,
  "_sha256": "e5ca1133642ae7220c4c7972146867eb719c51e230941b5478db8422d7e4dbab",
  "_expires": "2027-01-23T20:46:56.000Z",
  "_created": "2026-10-15T20:39:56.000Z",
  "_published": "2026-10-15T20:46:58.529Z",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/38803196618",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116659471595,
      "time": 369,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12005258376"
    },
    {
      "job": 116659471618,
      "time": 182,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12005103027"
    },
    {
      "job": 116657448528,
      "time": 263,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12005920276"
    },
    {
      "job": 116659471848,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12006155046"
    },
    {
      "job": 116659471652,
      "time": 155,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12005682453"
    },
    {
      "job": 116659471560,
      "time": 113,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12005632091"
    }
  ],
  "_upstream": "https://github.com/cran/contentiousR",
  "_commit": {
    "id": "32977158d0c743ffb9befbe469f59f68c6dc094d",
    "author": "Ruslan Guseinov <rigusseinov@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1792081209
  },
  "_maintainer": {
    "name": "Ruslan Guseinov",
    "email": "rigusseinov@gmail.com",
    "login": "rguseinov",
    "orcid": "0009-0000-1156-9495",
    "description": "MA Political Science, University of Mannheim '27 | GESIS - Leibniz Institute for the Social Sciences Research Assistant",
    "uuid": 81694422
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "countrycode",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "states",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "brglm2",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "peacesciencer",
      "version": ">= 1.2.0",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vdemdata",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2026-10-15"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rguseinov",
      "count": 1,
      "uuid": 81694422
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 631,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/contentiousR"
  },
  "_devurl": "https://github.com/rguseinov/contentiousr",
  "_pkgdown": "https://rguseinov.github.io/contentiousR/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contentiousR.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-10-15"
    }
  ],
  "_exports": [
    "add_conflict",
    "add_from_peacesciencer",
    "add_gdp",
    "add_lag",
    "add_leader_data",
    "add_military_expenditure",
    "add_population",
    "add_regions",
    "add_spell_duration",
    "add_vdem",
    "as_peacesciencer_panel",
    "build_states_panel",
    "cn_cite",
    "conflict_data",
    "harmonize_conflict_data",
    "load_gdp_data",
    "load_leader_data",
    "load_military_expenditure_data",
    "load_population_data",
    "load_vdem_data",
    "plot_coverage",
    "plot_regional_coverage",
    "plot_temporal_coverage"
  ],
  "_datasets": [
    {
      "name": "cn_bib",
      "title": "Bundled bibliography for cn_cite()",
      "object": "cn_bib",
      "class": [
        "bibentry"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "add_conflict",
      "title": "Add conflict or protest data to a state panel",
      "topics": [
        "add_conflict"
      ]
    },
    {
      "page": "add_from_peacesciencer",
      "title": "Add data from peacesciencer and restore the contentiousR schema",
      "topics": [
        "add_from_peacesciencer"
      ]
    },
    {
      "page": "add_gdp",
      "title": "Add GDP data to a state panel",
      "topics": [
        "add_gdp"
      ]
    },
    {
      "page": "add_lag",
      "title": "Add lagged variables to a state panel",
      "topics": [
        "add_lag"
      ]
    },
    {
      "page": "add_leader_data",
      "title": "Add leader data to a state panel",
      "topics": [
        "add_leader_data"
      ]
    },
    {
      "page": "add_military_expenditure",
      "title": "Add military expenditure data to a state panel",
      "topics": [
        "add_military_expenditure"
      ]
    },
    {
      "page": "add_population",
      "title": "Add population data to a state panel",
      "topics": [
        "add_population"
      ]
    },
    {
      "page": "add_regions",
      "title": "Add region names to a state panel",
      "topics": [
        "add_regions"
      ]
    },
    {
      "page": "add_spell_duration",
      "title": "Add conflict spell (peace-years) durations to a state panel",
      "topics": [
        "add_spell_duration"
      ]
    },
    {
      "page": "add_vdem",
      "title": "Add V-Dem indicators to a state panel",
      "topics": [
        "add_vdem"
      ]
    },
    {
      "page": "as_peacesciencer_panel",
      "title": "Make a state panel compatible with peacesciencer",
      "topics": [
        "as_peacesciencer_panel"
      ]
    },
    {
      "page": "build_states_panel",
      "title": "Build a state panel",
      "topics": [
        "build_states_panel"
      ]
    },
    {
      "page": "cn_bib",
      "title": "Bundled bibliography for cn_cite()",
      "topics": [
        "cn_bib"
      ]
    },
    {
      "page": "cn_cite",
      "title": "Cite a bundled data source",
      "topics": [
        "cn_cite"
      ]
    },
    {
      "page": "conflict_data",
      "title": "Load conflict and mobilization data",
      "topics": [
        "conflict_data"
      ]
    },
    {
      "page": "harmonize_conflict_data",
      "title": "Harmonize externally supplied conflict/event data onto a state panel",
      "topics": [
        "harmonize_conflict_data"
      ]
    },
    {
      "page": "load_gdp_data",
      "title": "Load GDP data",
      "topics": [
        "load_gdp_data"
      ]
    },
    {
      "page": "load_leader_data",
      "title": "Load leader data",
      "topics": [
        "load_leader_data"
      ]
    },
    {
      "page": "load_military_expenditure_data",
      "title": "Load military expenditure data",
      "topics": [
        "load_military_expenditure_data"
      ]
    },
    {
      "page": "load_population_data",
      "title": "Load population data",
      "topics": [
        "load_population_data"
      ]
    },
    {
      "page": "load_vdem_data",
      "title": "Load V-Dem data",
      "topics": [
        "load_vdem_data"
      ]
    },
    {
      "page": "plot_coverage",
      "title": "Plot country-year onset/event coverage of a binary variable",
      "topics": [
        "plot_coverage"
      ]
    },
    {
      "page": "plot_regional_coverage",
      "title": "Compare regional coverage across conflict/campaign datasets",
      "topics": [
        "plot_regional_coverage"
      ]
    },
    {
      "page": "plot_temporal_coverage",
      "title": "Compare temporal coverage across conflict/campaign datasets",
      "topics": [
        "plot_temporal_coverage"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cran/contentiousR/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/cran/contentiousR/raw/HEAD/README.md",
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "countrycode",
    "cpp11",
    "crayon",
    "dplyr",
    "generics",
    "glue",
    "hms",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "readr",
    "rlang",
    "states",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "dataset-comparison.Rmd",
      "filename": "dataset-comparison.html",
      "title": "Comparing revolutionary-event datasets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Regional coverage",
        "Temporal coverage",
        "Choosing your own comparison",
        "Reference"
      ],
      "created": "2026-10-15 16:20:09",
      "modified": "2026-10-15 16:20:09",
      "commits": 1
    },
    {
      "source": "data-sources.Rmd",
      "filename": "data-sources.html",
      "title": "Data sources and interpretation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package-related transformations and explanations",
        "Licensing"
      ],
      "created": "2026-10-15 16:20:09",
      "modified": "2026-10-15 16:20:09",
      "commits": 1
    },
    {
      "source": "contentiousR.Rmd",
      "filename": "contentiousR.html",
      "title": "Get started with contentiousR",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Build and enrich a panel",
        "Load data separately",
        "Conflict spells (peace-years)",
        "Lagged variables",
        "Visualizing onsets",
        "Optional V-Dem data",
        "build_states_panel()",
        "load_gdp_data() / add_gdp()",
        "load_population_data() / add_population()",
        "load_military_expenditure_data() / add_military_expenditure()",
        "load_vdem_data() / add_vdem()",
        "load_leader_data() / add_leader_data()",
        "Interoperate with peacesciencer",
        "References"
      ],
      "created": "2026-10-15 16:20:09",
      "modified": "2026-10-15 16:20:09",
      "commits": 1
    },
    {
      "source": "case-study.Rmd",
      "filename": "case-study.html",
      "title": "Usage example: modeling revolutionary onset",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Construct the panel",
        "Check coverage",
        "Model onset",
        "Reference"
      ],
      "created": "2026-10-15 16:20:09",
      "modified": "2026-10-15 16:20:09",
      "commits": 1
    }
  ],
  "_score": 3.3010299956639813,
  "_indexed": false,
  "_nocasepkg": "contentiousr",
  "_universes": [
    "cran",
    "rguseinov"
  ],
  "_indexurl": "https://rguseinov.r-universe.dev/contentiousR",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-15T20:45:26.000Z",
      "distro": "resolute",
      "commit": "32977158d0c743ffb9befbe469f59f68c6dc094d",
      "fileid": "https://r2.ropensci.org/ef8e5280058a4d48ad6df3dd0ef6ea9db949d07a529dad513b3aff4763c2ef02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38803196618"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-15T20:42:22.000Z",
      "distro": "resolute",
      "commit": "32977158d0c743ffb9befbe469f59f68c6dc094d",
      "fileid": "https://r2.ropensci.org/f5883c5d97aae7b02f1bc050e846ed98c4b133852ab132e782201732b9be6049",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38803196618"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-15T20:42:21.000Z",
      "commit": "32977158d0c743ffb9befbe469f59f68c6dc094d",
      "fileid": "https://r2.ropensci.org/71bc6f3535fbb2170b7d3d1bfb77458e06a4e333fcebb7b6a5245042dde48209",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38803196618"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-15T20:41:36.000Z",
      "commit": "32977158d0c743ffb9befbe469f59f68c6dc094d",
      "fileid": "https://r2.ropensci.org/bc5cd89ce678dcd97940d48a1037f41a8e28d1fe6c943977ed821c45b8e265f6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38803196618"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-15T20:41:25.000Z",
      "commit": "32977158d0c743ffb9befbe469f59f68c6dc094d",
      "fileid": "https://r2.ropensci.org/bfb6153cc7e3e3a509add94870d84c31583060d1a08f4e5098ca5f8eaa35f5b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/38803196618"
    }
  ]
}