{
  "_id": "6a27c47d24555f66ed53eae9",
  "Package": "eventreport",
  "Type": "Package",
  "Title": "Diagnose, Visualize, and Aggregate Event Report Level Data",
  "Version": "0.1.2",
  "Authors@R": "c(\nperson(given = \"Sebastian\", family = \"van Baalen\",\nemail = \"sebastian.van-baalen@pcr.uu.se\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-3098-5587\")),\nperson(given = \"Kristine\", family = \"Höglund\",\nemail = \"kristine.hoglund@pcr.uu.se\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-7167-609X\")))",
  "Maintainer": "Sebastian van Baalen <sebastian.van-baalen@pcr.uu.se>",
  "Description": "Diagnose, visualize, and aggregate event report level data\nto the event level. Users provide an event report level\ndataset, specify their aggregation rules, and the package\nproduces a dataset aggregated at the event level. Also includes\nthe Modes and Agents of Election-Related Violence in Côte\nd'Ivoire and Kenya (MAVERICK) dataset, an event report level\ndataset that records all documented instances of electoral\nviolence from the first multiparty election to 2022 in Côte\nd'Ivoire (1995-2022) and Kenya (1992-2022). For more details\nsee van Baalen and Höglund (2026) <doi:10.1093/isq/sqag014>.\nUsers of the enclosed MAVERICK dataset should also cite van\nBaalen and Höglund (2026) <doi:10.1093/jopres/xjaf012>.",
  "License": "CC BY 4.0",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/sebastianvanbaalen/eventreport",
  "BugReports": "https://github.com/sebastianvanbaalen/eventreport/issues",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://sebastianvanbaalen.r-universe.dev",
  "Date/Publication": "2026-03-11 06:25:24 UTC",
  "RemoteUrl": "https://github.com/sebastianvanbaalen/eventreport",
  "RemoteRef": "HEAD",
  "RemoteSha": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 07:35:58 UTC",
    "User": "root"
  },
  "Author": "Sebastian van Baalen [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-3098-5587>),\nKristine Höglund [aut] (ORCID: <https://orcid.org/0000-0001-7167-609X>)",
  "MD5sum": "0461e36f69c2520f4b5b4b7b722c8def",
  "_user": "sebastianvanbaalen",
  "_type": "src",
  "_file": "eventreport_0.1.2.tar.gz",
  "_fileid": "ceaa03726ea765329c5125a424dd638466e5b4ea482d46aa9479e800724c9dc0",
  "_filesize": 869895,
  "_sha256": "ceaa03726ea765329c5125a424dd638466e5b4ea482d46aa9479e800724c9dc0",
  "_created": "2026-06-09T07:35:58.000Z",
  "_published": "2026-06-09T07:45:01.155Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80271601778,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501376355"
    },
    {
      "job": 80271601898,
      "time": 201,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501389978"
    },
    {
      "job": 80271601833,
      "time": 210,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501479730"
    },
    {
      "job": 80271601813,
      "time": 182,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501451341"
    },
    {
      "job": 80270993719,
      "time": 233,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501321117"
    },
    {
      "job": 80271601740,
      "time": 142,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501370120"
    },
    {
      "job": 80271601784,
      "time": 135,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7501368314"
    },
    {
      "job": 80271601836,
      "time": 144,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7501374761"
    },
    {
      "job": 80271601827,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7501357427"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/sebastianvanbaalen/eventreport",
  "_commit": {
    "id": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
    "author": "Sebastian van Baalen <sebastian.van-baalen@pcr.uu.se>",
    "committer": "Sebastian van Baalen <sebastian.van-baalen@pcr.uu.se>",
    "message": "Fix UTF-8 encoding issues in README.md\n\nRe-knit with correct locale to render accented characters\n(e.g. Côte d'Ivoire, Duékoué) instead of Unicode escapes.\n\nCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>\n",
    "time": 1773210324
  },
  "_maintainer": {
    "name": "Sebastian van Baalen",
    "email": "sebastian.van-baalen@pcr.uu.se",
    "login": "sebastianvanbaalen",
    "description": "Associate Professor of Peace and Conflict Research, Uppsala University, Sweden",
    "uuid": 96355871,
    "orcid": "0000-0003-3098-5587"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    },
    {
      "package": "tidyverse",
      "role": "Suggests"
    },
    {
      "package": "tinytable",
      "role": "Suggests"
    }
  ],
  "_owner": "sebastianvanbaalen",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 10
    },
    {
      "week": "2026-11",
      "n": 14
    }
  ],
  "_tags": [
    {
      "name": "v0.1.1",
      "date": "2025-10-09"
    },
    {
      "name": "v0.1.2",
      "date": "2026-03-10"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sebastianvanbaalen",
      "count": 28,
      "uuid": 96355871
    }
  ],
  "_userbio": {
    "uuid": 96355871,
    "type": "user",
    "name": "Sebastian van Baalen",
    "description": "Associate Professor of Peace and Conflict Research, Uppsala University, Sweden"
  },
  "_downloads": {
    "count": 452,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/eventreport"
  },
  "_devurl": "https://github.com/sebastianvanbaalen/eventreport",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/eventreport.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/sebastianvanbaalen/eventreport",
  "_realowner": "sebastianvanbaalen",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-10-16"
    },
    {
      "version": "0.1.2",
      "date": "2026-03-11"
    }
  ],
  "_exports": [
    "%>%",
    "aggregate_maverick_con",
    "aggregate_maverick_inf",
    "aggregate_maverick_rep",
    "aggregate_strings",
    "aggregateData",
    "aggregation_diagnostics",
    "calc_max_precision",
    "calc_min_precision",
    "calc_mode",
    "calc_mode_binary",
    "calc_mode_date",
    "calc_mode_na_ignore",
    "calc_mode_numeric",
    "dscore",
    "event_level_disagreement",
    "mean_dscore",
    "mean_range",
    "mean_sd",
    "modal_confidence",
    "share_disagreement"
  ],
  "_datasets": [
    {
      "name": "maverick_event_report",
      "title": "The MAVERICK event report level dataset",
      "object": "maverick_event_report",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "event_id",
        "country",
        "election",
        "certain",
        "certain1",
        "certain2",
        "certain3",
        "certain4",
        "certain5",
        "certain6",
        "date_start",
        "date_end",
        "city",
        "location",
        "latitude",
        "longitude",
        "geo_precision",
        "actor1",
        "actor1_id",
        "actor1_type",
        "actor1_subtype",
        "actor1_party",
        "actor1_violence",
        "actor1_precision",
        "actor1_initiator",
        "actor1_perpetrator",
        "actor1_intervener",
        "actor1_bystander",
        "actor1_victim",
        "actor2",
        "actor2_id",
        "actor2_type",
        "actor2_subtype",
        "actor2_party",
        "actor2_violence",
        "actor2_precision",
        "actor2_initiator",
        "actor2_perpetrator",
        "actor2_intervener",
        "actor2_bystander",
        "actor2_victim",
        "actor3",
        "actor3_id",
        "actor3_type",
        "actor3_subtype",
        "actor3_party",
        "actor3_violence",
        "actor3_precision",
        "actor3_initiator",
        "actor3_perpetrator",
        "actor3_intervener",
        "actor3_bystander",
        "actor3_victim",
        "actor4",
        "actor4_id",
        "actor4_type",
        "actor4_subtype",
        "actor4_party",
        "actor4_violence",
        "actor4_precision",
        "actor4_initiator",
        "actor4_perpetrator",
        "actor4_intervener",
        "actor4_bystander",
        "actor4_victim",
        "actor5",
        "actor5_id",
        "actor5_type",
        "actor5_subtype",
        "actor5_party",
        "actor5_violence",
        "actor5_precision",
        "actor5_initiator",
        "actor5_perpetrator",
        "actor5_intervener",
        "actor5_bystander",
        "actor5_victim",
        "actor6",
        "actor6_id",
        "actor6_type",
        "actor6_subtype",
        "actor6_party",
        "actor6_violence",
        "actor6_precision",
        "actor6_initiator",
        "actor6_perpetrator",
        "actor6_intervener",
        "actor6_bystander",
        "actor6_victim",
        "event_context",
        "target",
        "deaths_best",
        "deaths_low",
        "deaths_high",
        "injuries_best",
        "injuries_low",
        "injuries_high",
        "displacement",
        "damage",
        "source",
        "number_of_sources",
        "source_author",
        "source_type",
        "source_classification",
        "sampling",
        "unit_of_analysis",
        "aggregation"
      ],
      "rows": 3287,
      "table": true,
      "tojson": true
    },
    {
      "name": "small_maverick_event_report",
      "title": "A Subset of the MAVERICK Event Report Dataset",
      "object": "small_maverick_event_report",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "event_id",
        "country",
        "city",
        "location",
        "date_start",
        "actor1",
        "deaths_best",
        "injuries_best",
        "source"
      ],
      "rows": 100,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "aggregate_maverick_con",
      "title": "Load the most-conservative aggregation of MAVERICK",
      "topics": [
        "aggregate_maverick_con"
      ]
    },
    {
      "page": "aggregate_maverick_inf",
      "title": "Load the most-informative aggregation of MAVERICK",
      "topics": [
        "aggregate_maverick_inf"
      ]
    },
    {
      "page": "aggregate_maverick_rep",
      "title": "Load the most-representative aggregation of MAVERICK",
      "topics": [
        "aggregate_maverick_rep"
      ]
    },
    {
      "page": "aggregate_strings",
      "title": "Combine strings from a character variable",
      "topics": [
        "aggregate_strings"
      ]
    },
    {
      "page": "aggregateData",
      "title": "Aggregate event report data",
      "topics": [
        "aggregateData"
      ]
    },
    {
      "page": "aggregation_diagnostics",
      "title": "Compute multiple aggregation diagnostics for a set of variables",
      "topics": [
        "aggregation_diagnostics"
      ]
    },
    {
      "page": "calc_max_precision",
      "title": "Calculate the mode value at maximum precision",
      "topics": [
        "calc_max_precision"
      ]
    },
    {
      "page": "calc_min_precision",
      "title": "Calculate the mode value at minimum precision",
      "topics": [
        "calc_min_precision"
      ]
    },
    {
      "page": "calc_mode",
      "title": "Calculate mode with optional tie-breaks",
      "topics": [
        "calc_mode"
      ]
    },
    {
      "page": "calc_mode_binary",
      "title": "Calculate mode of a binary numeric vector",
      "topics": [
        "calc_mode_binary"
      ]
    },
    {
      "page": "calc_mode_date",
      "title": "Calculate mode of date vector",
      "topics": [
        "calc_mode_date"
      ]
    },
    {
      "page": "calc_mode_na_ignore",
      "title": "Calculate mode with optional tie-breaks ignoring NA and empty strings",
      "topics": [
        "calc_mode_na_ignore"
      ]
    },
    {
      "page": "calc_mode_numeric",
      "title": "Calculate mode of numeric vector",
      "topics": [
        "calc_mode_numeric"
      ]
    },
    {
      "page": "dscore",
      "title": "Calculate discrepancy score",
      "topics": [
        "dscore"
      ]
    },
    {
      "page": "event_level_disagreement",
      "title": "Calculate event-level disagreement scores by variable (wide format)",
      "topics": [
        "event_level_disagreement"
      ]
    },
    {
      "page": "maverick_event_report",
      "title": "The MAVERICK event report level dataset",
      "topics": [
        "maverick_event_report"
      ]
    },
    {
      "page": "mean_dscore",
      "title": "Calculate the mean divergence scores across event reports",
      "topics": [
        "mean_dscore"
      ]
    },
    {
      "page": "mean_range",
      "title": "Calculate the mean within-event range across event reports for numeric variables",
      "topics": [
        "mean_range"
      ]
    },
    {
      "page": "mean_sd",
      "title": "Calculate the mean within-event standard deviation across event reports for numeric variables",
      "topics": [
        "mean_sd"
      ]
    },
    {
      "page": "modal_confidence",
      "title": "Calculate the modal confidence across event reports",
      "topics": [
        "modal_confidence"
      ]
    },
    {
      "page": "share_disagreement",
      "title": "Calculate the share of events with any disagreement across event reports",
      "topics": [
        "share_disagreement"
      ]
    },
    {
      "page": "small_maverick_event_report",
      "title": "A Subset of the MAVERICK Event Report Dataset",
      "topics": [
        "small_maverick_event_report"
      ]
    }
  ],
  "_pkglogo": "https://github.com/sebastianvanbaalen/eventreport/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/sebastianvanbaalen/eventreport/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "get_started.Rmd",
      "filename": "get_started.html",
      "title": "Working with the eventreport package",
      "author": "Sebastian van Baalen",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What is event report level data?",
        "Why work with event report data?",
        "Why the eventreport package?",
        "Installation",
        "Aggregation diagnostics",
        "Calculate unique values using dscore",
        "Calculate the average number of unique values using mean_dscore",
        "Calculate multiple aggregation diagnostics using aggregation_diagnostics",
        "Use the aggregation functions",
        "calc_mode",
        "calc_mode_na_ignore",
        "calc_mode_binary",
        "calc_mode_numeric",
        "calc_mode_date",
        "calc_max_precision",
        "calc_min_precision",
        "combine_strings",
        "Aggregate multiple variables at once with aggregateData",
        "Empirical illustration",
        "References"
      ],
      "created": "2024-12-06 14:34:28",
      "modified": "2025-10-09 15:30:47",
      "commits": 3
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "eventreport",
  "_universes": [
    "sebastianvanbaalen"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-09T07:38:22.000Z",
      "distro": "noble",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "204b2a51ebcba256fc444eea0a54265ea43173aa5c5b758b471c145e36738e3a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-06-09T07:38:53.000Z",
      "distro": "noble",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "42cde6f036946808ed2fd73f4ba07712b9e0776dff37c670a7795bbe672d4410",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-09T07:43:24.000Z",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "e1cb15114ee0f7835d6da55a7682e0b4718a4ae8cf028d5dc2581f1de9a7812a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-06-09T07:42:11.000Z",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "b23d529350759fab02999005ca3d1204d342af012d4ec9767fccce9dfc0e40ce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-06-09T07:38:37.000Z",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "544589d1adcf892b0af0624d9931a17c7c6604274f03845b810e6028cd16f494",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-09T07:37:51.000Z",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "5433655d497605dc546605dcb19e69f9c01a6d417f88be26efaeb9b5afae0b1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-09T07:38:01.000Z",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "eb3e5603e9aff4f09181c13b77f7d4831f423d1a1ebdb3785ca2ce5671dc2a60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-06-09T07:37:20.000Z",
      "commit": "3527543e6b24fc380de023dd23f65c8b172bb9f9",
      "fileid": "1fefad9b6c3fdfef6d90441573c1fbf4f5bd33844693734b9ea57bfaad84e5f5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sebastianvanbaalen/actions/runs/27191001367"
    }
  ]
}