{
  "_id": "6ab0df013d719c1f84083f5d",
  "Package": "incidence2",
  "Type": "Package",
  "Title": "Compute, Handle and Plot Incidence of Dated Events",
  "Version": "2.6.4.9000",
  "Authors@R": "c(\nperson(\"Tim\", \"Taylor\", role = c(\"aut\", \"cre\"), email = \"tim.taylor@hiddenelephants.co.uk\",\ncomment = c(ORCID = \"0000-0002-8587-7113\")),\nperson(\"Thibaut\", \"Jombart\", role = \"ctb\", email = \"thibautjombart@gmail.com\")\n)",
  "Description": "Provides functions and classes to compute, handle and\nvisualise incidence from dated events for a defined time\ninterval. Dates can be provided in various standard formats.\nThe class 'incidence2' is used to store computed incidence and\ncan be easily manipulated, subsetted, and plotted.",
  "Encoding": "UTF-8",
  "License": "MIT + file LICENSE",
  "URL": "https://www.reconverse.org/incidence2/,\nhttps://github.com/reconverse/incidence2",
  "BugReports": "https://github.com/reconverse/incidence2/issues",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "litedown",
  "Config/testthat/load-all": "list(export_all = FALSE, helpers = FALSE)",
  "Config/testthat/edition": "3",
  "Config/testthat/parallel": "true",
  "Config/testthat/start-first": "plot, incidence, bootstrap",
  "LazyData": "true",
  "Remotes": [
    "reconverse/grates/pkg"
  ],
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://reconverse.r-universe.dev",
  "Date/Publication": "2026-03-25 17:24:51 UTC",
  "RemoteUrl": "https://github.com/reconverse/incidence2",
  "RemoteRef": "HEAD",
  "RemoteSha": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
  "RemoteSubdir": "pkg",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-21 07:35:12 UTC",
    "User": "root"
  },
  "Author": "Tim Taylor [aut, cre] (ORCID: <https://orcid.org/0000-0002-8587-7113>),\nThibaut Jombart [ctb]",
  "Maintainer": "Tim Taylor <tim.taylor@hiddenelephants.co.uk>",
  "_user": "reconverse",
  "_type": "src",
  "_file": "incidence2_2.6.4.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/1a8e2e81f35c66fa1e4a1a78e858245f291536f14b96aea2c8227c74e4cdf9dc",
  "_filesize": 956691,
  "_sha256": "1a8e2e81f35c66fa1e4a1a78e858245f291536f14b96aea2c8227c74e4cdf9dc",
  "_expires": "2026-12-30T07:38:39.000Z",
  "_created": "2026-09-21T07:35:12.000Z",
  "_published": "2026-09-21T07:38:41.806Z",
  "_jobs": [
    {
      "job": 106250612530,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10626299528"
    },
    {
      "job": 106250612554,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10626938303"
    },
    {
      "job": 106250612576,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10627546125"
    },
    {
      "job": 106250612583,
      "time": 117,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10626703409"
    },
    {
      "job": 106249817878,
      "time": 191,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10627371653"
    },
    {
      "job": 106250612486,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10626438742"
    },
    {
      "job": 106250612569,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10627212282"
    },
    {
      "job": 106250612602,
      "time": 98,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10627376908"
    },
    {
      "job": 106250612600,
      "time": 89,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10627575947"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635",
  "_status": "success",
  "_upstream": "https://github.com/reconverse/incidence2",
  "_commit": {
    "id": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
    "author": "Tim Taylor <tim.taylor@hiddenelephants.co.uk>",
    "committer": "Tim Taylor <tim.taylor@hiddenelephants.co.uk>",
    "message": "refactor: onyl calculate duration for integer dates\n",
    "time": 1774459491
  },
  "_maintainer": {
    "name": "Tim Taylor",
    "email": "tim.taylor@hiddenelephants.co.uk",
    "login": "timtaylor",
    "description": "\n",
    "uuid": 43499035,
    "orcid": "0000-0002-8587-7113"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "grates",
      "version": ">= 1.8.0",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "version": ">= 1.15.0",
      "role": "Imports"
    },
    {
      "package": "pillar",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "ympes",
      "version": ">= 1.3.0",
      "role": "Imports"
    },
    {
      "package": "outbreaks",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "litedown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ciTools",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "reconverse",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-48",
      "n": 1
    },
    {
      "week": "2026-09",
      "n": 3
    },
    {
      "week": "2026-10",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 9
    }
  ],
  "_tags": [
    {
      "name": "v2.6.4",
      "date": "2026-03-02"
    }
  ],
  "_stars": 17,
  "_contributors": [
    {
      "user": "timtaylor",
      "count": 661,
      "uuid": 43499035
    },
    {
      "user": "thibautjombart",
      "count": 6,
      "uuid": 10757154
    }
  ],
  "_userbio": {
    "uuid": 75848053,
    "type": "organization",
    "name": "reconverse",
    "followers": 14
  },
  "_downloads": {
    "count": 849,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/incidence2"
  },
  "_devurl": "https://github.com/reconverse/incidence2",
  "_searchresults": 148,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/incidence2.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/reconverse/incidence2",
  "_realowner": "reconverse",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-09-07"
    },
    {
      "version": "0.2.0",
      "date": "2020-09-22"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-16"
    },
    {
      "version": "0.2.2",
      "date": "2020-11-12"
    },
    {
      "version": "1.0.0",
      "date": "2021-03-30"
    },
    {
      "version": "1.1",
      "date": "2021-05-29"
    },
    {
      "version": "1.2.0",
      "date": "2021-07-07"
    },
    {
      "version": "1.2.1",
      "date": "2021-07-14"
    },
    {
      "version": "1.2.2",
      "date": "2021-08-23"
    },
    {
      "version": "1.2.3",
      "date": "2021-11-07"
    },
    {
      "version": "2.0.0",
      "date": "2023-03-17"
    },
    {
      "version": "2.1.0",
      "date": "2023-05-31"
    },
    {
      "version": "2.2.1",
      "date": "2023-06-13"
    },
    {
      "version": "2.2.3",
      "date": "2023-12-05"
    },
    {
      "version": "2.3.0",
      "date": "2024-05-23"
    },
    {
      "version": "2.3.1",
      "date": "2024-05-31"
    },
    {
      "version": "2.4.0",
      "date": "2024-09-02"
    },
    {
      "version": "2.5.0",
      "date": "2024-10-06"
    },
    {
      "version": "2.6.0",
      "date": "2024-11-22"
    },
    {
      "version": "2.6.1",
      "date": "2025-03-11"
    },
    {
      "version": "2.6.2",
      "date": "2025-04-14"
    },
    {
      "version": "2.6.3",
      "date": "2025-06-04"
    },
    {
      "version": "2.6.4",
      "date": "2026-03-02"
    }
  ],
  "_exports": [
    "as_incidence",
    "as_tibble",
    "as.data.table",
    "bootstrap_incidence",
    "build_incidence",
    "complete_dates",
    "cumulate",
    "estimate_peak",
    "facet_plot",
    "first_peak",
    "get_count_value",
    "get_count_value_name",
    "get_count_variable",
    "get_count_variable_name",
    "get_date_index",
    "get_date_index_name",
    "get_dates",
    "get_dates_name",
    "get_group_names",
    "get_groups",
    "get_interval",
    "get_interval_duration",
    "get_timespan",
    "incidence",
    "incidence_",
    "keep_first",
    "keep_last",
    "keep_peaks",
    "mutate",
    "muted",
    "nest",
    "new_incidence",
    "regroup",
    "regroup_",
    "select",
    "summarise",
    "unnest",
    "unpack",
    "validate_incidence",
    "vibrant"
  ],
  "_datasets": [
    {
      "name": "covidregionaldataUK",
      "title": "Regional data for COVID-19 cases in the UK",
      "object": "covidregionaldataUK",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "region",
        "region_code",
        "cases_new",
        "cases_total",
        "deaths_new",
        "deaths_total",
        "recovered_new",
        "recovered_total",
        "hosp_new",
        "hosp_total",
        "tested_new",
        "tested_total"
      ],
      "rows": 6370,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "accessors",
      "title": "Access various elements of an incidence object",
      "topics": [
        "accessors",
        "get_count_value",
        "get_count_value.default",
        "get_count_value.incidence2",
        "get_count_value_name",
        "get_count_value_name.default",
        "get_count_value_name.incidence2",
        "get_count_variable",
        "get_count_variable.default",
        "get_count_variable.incidence2",
        "get_count_variable_name",
        "get_count_variable_name.default",
        "get_count_variable_name.incidence2",
        "get_dates",
        "get_dates_name",
        "get_date_index",
        "get_date_index.default",
        "get_date_index.incidence2",
        "get_date_index_name",
        "get_date_index_name.default",
        "get_date_index_name.incidence2",
        "get_groups",
        "get_groups.default",
        "get_groups.incidence2",
        "get_group_names",
        "get_group_names.default",
        "get_group_names.incidence2"
      ]
    },
    {
      "page": "as",
      "title": "Coerce to and from an incidence object",
      "topics": [
        "as",
        "as.data.frame.incidence2",
        "as.data.table.incidence2",
        "as_incidence",
        "as_incidence.default",
        "as_incidence.incidence2",
        "as_tibble.incidence2"
      ]
    },
    {
      "page": "bootstrap_incidence",
      "title": "Bootstrap incidence time series",
      "topics": [
        "bootstrap_incidence"
      ]
    },
    {
      "page": "complete_dates",
      "title": "Complete dates for all group combinations",
      "topics": [
        "complete_dates"
      ]
    },
    {
      "page": "covidregionaldataUK",
      "title": "Regional data for COVID-19 cases in the UK",
      "topics": [
        "covidregionaldataUK"
      ]
    },
    {
      "page": "cumulate",
      "title": "Compute cumulative 'incidence'",
      "topics": [
        "cumulate"
      ]
    },
    {
      "page": "dplyr-verbs",
      "title": "dplyr and tidyr verbs",
      "topics": [
        "dplyr-verbs",
        "mutate.incidence2",
        "nest.incidence2",
        "summarise.incidence2"
      ]
    },
    {
      "page": "estimate_peak",
      "title": "Estimate the peak date of an incidence curve",
      "topics": [
        "estimate_peak",
        "estimate_peaks"
      ]
    },
    {
      "page": "get_interval_duration.incidence2",
      "title": "Days covered by the date index of an incidence object",
      "topics": [
        "get_interval_duration.incidence2"
      ]
    },
    {
      "page": "incidence",
      "title": "Compute the incidence of events",
      "topics": [
        "incidence",
        "incidence_"
      ]
    },
    {
      "page": "keep",
      "title": "Keep first, last and peak occurences",
      "topics": [
        "first_peak",
        "keep",
        "keep_first",
        "keep_last",
        "keep_peaks"
      ]
    },
    {
      "page": "plot.incidence2",
      "title": "Plot an incidence object",
      "topics": [
        "plot.incidence2"
      ]
    },
    {
      "page": "regroup",
      "title": "Regroup 'incidence' objects",
      "topics": [
        "regroup",
        "regroup_"
      ]
    },
    {
      "page": "split.incidence2",
      "title": "Divide an incidence2 object in to it's implicit groupings",
      "topics": [
        "split.incidence2"
      ]
    },
    {
      "page": "summary.incidence2",
      "title": "Summary of an incidence object",
      "topics": [
        "summary.incidence2"
      ]
    },
    {
      "page": "palettes",
      "title": "Color palettes used in incidence",
      "topics": [
        "muted",
        "palettes",
        "vibrant"
      ]
    }
  ],
  "_readme": "https://github.com/reconverse/incidence2/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "data.table",
    "dplyr",
    "fastymd",
    "generics",
    "glue",
    "grates",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr",
    "ympes"
  ],
  "_vignettes": [
    {
      "source": "incidence2.Rmd",
      "filename": "incidence2.html",
      "title": "An introduction to incidence2",
      "engine": "litedown::vignette",
      "headings": [
        "What does it do?",
        "Functions at a glance",
        "Basic Usage",
        "Computing incidence from a linelist",
        "Computing incidence from pre-aggregated data",
        "Plotting in style of European Programme for Intervention Epidemiology Training (EPIET)",
        "Support for tidy-select semantics",
        "Working with incidence objects",
        "regroup()",
        "complete_dates()",
        "keep_first(), keep_last() and keep_peaks()",
        "Bootstrapping and estimating peaks",
        "cumulate()",
        "Building on incidence2",
        "Class preservation",
        "Accessing variable information",
        "Grouping aware methods",
        "Example fitting a poisson model",
        "Example - Adding a rolling average"
      ],
      "created": "2025-03-11 12:34:35",
      "modified": "2026-02-27 15:14:46",
      "commits": 5
    }
  ],
  "_score": 7.479891882820857,
  "_indexed": true,
  "_nocasepkg": "incidence2",
  "_universes": [
    "reconverse",
    "timtaylor"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:37:28.000Z",
      "distro": "resolute",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/7aa962df79a248cf92dc91e87727ef18ede6bd7ec450cb4eb0a17c2df2e337cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:37:46.000Z",
      "distro": "resolute",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/5e3e0440cd2839aa2e73371672d092bdc1f8c4aaad401c5618c3fcd0c07ce866",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:36:41.000Z",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/ba27ee41ba7cc518856079f211a59055b5040248f675a1a568761bd926c57815",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:37:01.000Z",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/db93c7fcbc620957beb3617c873761ab8546b49924626de943de809001cacce5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:37:34.000Z",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/f77b4510076940b596fe20bf8b2b7d8f181e390180b5b534c47a017289318b41",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:36:17.000Z",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/46f5e9a94bfc76b49840a91c1f73939578596336fcb6683f7a965f4e8b1f7c8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:36:33.000Z",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/9daa3fcf1ae729df4cc0331020dc3eddb25bd6f125ff3722ad9f7d09141ce035",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.6.4.9000",
      "date": "2026-09-21T07:36:23.000Z",
      "commit": "443fd4c0d0ec4d1c4a5a1bb1de8afb22205d59fd",
      "fileid": "https://r2.ropensci.org/053b094745f869ada353035867a4c5e9b9deb072c7ff68a68c0be10828fc9e76",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reconverse/actions/runs/35573389635"
    }
  ]
}