{
  "_id": "6ad1f1d8d3c80a766859c96c",
  "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",
  "Roxygen": "list(markdown = TRUE)",
  "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",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://rguseinov.r-universe.dev",
  "Date/Publication": "2026-10-15 21:50:41 UTC",
  "RemoteUrl": "https://github.com/rguseinov/contentiousr",
  "RemoteRef": "HEAD",
  "RemoteSha": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-16 09:12:33 UTC",
    "User": "root"
  },
  "Author": "Ruslan Guseinov [aut, cre] (ORCID:\n<https://orcid.org/0009-0000-1156-9495>)",
  "Maintainer": "Ruslan Guseinov <rigusseinov@gmail.com>",
  "_user": "rguseinov",
  "_type": "src",
  "_file": "contentiousR_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/1072130784a8dc9b92f80f139e99d1c604522403e49dbf752d422228d26744fb",
  "_filesize": 4892212,
  "_sha256": "1072130784a8dc9b92f80f139e99d1c604522403e49dbf752d422228d26744fb",
  "_expires": "2027-01-24T09:43:48.000Z",
  "_created": "2026-10-16T09:12:33.000Z",
  "_published": "2026-10-16T09:43:52.215Z",
  "_buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116900571650,
      "time": 185,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12036089344"
    },
    {
      "job": 116900571610,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12036477898"
    },
    {
      "job": 116900571700,
      "time": 219,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12037693651"
    },
    {
      "job": 116900571551,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12037413642"
    },
    {
      "job": 116898837706,
      "time": 257,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12036716789"
    },
    {
      "job": 116900571571,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12035764754"
    },
    {
      "job": 116900571531,
      "time": 143,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12036866592"
    },
    {
      "job": 116900571653,
      "time": 142,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12036049314"
    },
    {
      "job": 116900571548,
      "time": 153,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12036697428"
    }
  ],
  "_upstream": "https://github.com/rguseinov/contentiousr",
  "_commit": {
    "id": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
    "author": "Ruslan Guseinov <rigusseinov@gmail.com>",
    "committer": "Ruslan Guseinov <rigusseinov@gmail.com>",
    "message": "Initial commit\n",
    "time": 1792101041
  },
  "_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": "rguseinov",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-42",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "rguseinov",
      "count": 1,
      "uuid": 81694422
    }
  ],
  "_userbio": {
    "uuid": 81694422,
    "type": "user",
    "name": "Ruslan Guseinov",
    "followers": 5,
    "description": "MA Political Science, University of Mannheim '27 | GESIS - Leibniz Institute for the Social Sciences Research Assistant"
  },
  "_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"
  ],
  "_homeurl": "https://github.com/rguseinov/contentiousr",
  "_realowner": "rguseinov",
  "_cranurl": true,
  "_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/rguseinov/contentiousr/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/rguseinov/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 21:50:41",
      "modified": "2026-10-15 21:50:41",
      "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 21:50:41",
      "modified": "2026-10-15 21:50:41",
      "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 21:50:41",
      "modified": "2026-10-15 21:50:41",
      "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 21:50:41",
      "modified": "2026-10-15 21:50:41",
      "commits": 1
    }
  ],
  "_score": 4.301029995663981,
  "_indexed": true,
  "_nocasepkg": "contentiousr",
  "_universes": [
    "rguseinov"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-16T09:14:49.000Z",
      "distro": "resolute",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/ea89bf49dbe45d4f1e6a99b8430bf2f4d76946b8f56891e040894c9db08cbc25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-16T09:14:46.000Z",
      "distro": "resolute",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/4553a605f97160e17bcb9d063cde9816d24a55cd921c3c68fc8a7ebb5d31d5af",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-16T09:42:09.000Z",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/1b66e56c4a8e7ad27886f61bdad686f88275320682f0b30c684ce56c90806bc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-16T09:40:21.000Z",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/c8a56f84389bf19ca8c6c515f332faeb5d65760f3bf9ecff78084bff8bdf2eb5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-16T09:14:40.000Z",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/542e09022ab194cda1d13157c160f21e589c4f2dcca0a9734dc51df19a059a14",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-16T09:13:55.000Z",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/b890126fac2c28147dafd7c54f469c4db39433c2b59eb1e53ce584bb88a3be97",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-16T09:13:52.000Z",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/9e1e9f5671238e85b720f45f516ed7284a7dc0b463b3f0d5066560785e89f5fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-16T09:14:02.000Z",
      "commit": "01ad58ae4b45c4d854bd2381e0b0279ae8610a89",
      "fileid": "https://r2.ropensci.org/aa32e179e9ef6cf59171adb3503ec7b75998912b95ad0d7dd0beac9f9449d07d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rguseinov/actions/runs/38878330640"
    }
  ]
}