{
  "_id": "6ac763b2de46216d5edcf479",
  "Package": "incidence2",
  "Type": "Package",
  "Title": "Compute, Handle and Plot Incidence of Dated Events",
  "Version": "2.6.0.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. This package\nis part of the RECON (<https://www.repidemicsconsortium.org/>)\ntoolkit for outbreak analysis (<https://www.reconverse.org>).",
  "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.2",
  "Roxygen": "list(markdown = TRUE)",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://epiverse-connect.r-universe.dev",
  "Date/Publication": "2024-11-27 12:09:36 UTC",
  "RemoteUrl": "https://github.com/reconverse/incidence2",
  "RemoteRef": "HEAD",
  "RemoteSha": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-08 09:13:33 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": "epiverse-connect",
  "_type": "src",
  "_file": "incidence2_2.6.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5aaf004685cf5675c0d39fa9c3af5c07db76402b7a01fc6d4e6032a05478a2a7",
  "_filesize": 1480562,
  "_sha256": "5aaf004685cf5675c0d39fa9c3af5c07db76402b7a01fc6d4e6032a05478a2a7",
  "_expires": "2027-01-16T09:34:40.000Z",
  "_created": "2026-10-08T09:13:33.000Z",
  "_published": "2026-10-08T09:34:42.880Z",
  "_buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 113237936649,
      "time": 129,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11539488894"
    },
    {
      "job": 113237936576,
      "time": 148,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11539174721"
    },
    {
      "job": 113237936884,
      "time": 89,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11540621911"
    },
    {
      "job": 113237936843,
      "time": 104,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540368095"
    },
    {
      "job": 113236806048,
      "time": 175,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540195472"
    },
    {
      "job": 113237936742,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11539777671"
    },
    {
      "job": 113237936786,
      "time": 86,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11539937429"
    },
    {
      "job": 113237936870,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11539658358"
    },
    {
      "job": 113237936889,
      "time": 100,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11540036796"
    }
  ],
  "_upstream": "https://github.com/reconverse/incidence2",
  "_commit": {
    "id": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
    "author": "Tim Taylor <tim.taylor@hiddenelephants.co.uk>",
    "committer": "Tim Taylor <tim.taylor@hiddenelephants.co.uk>",
    "message": "chore: bump to dev version\n",
    "time": 1732709376
  },
  "_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.3.0",
      "role": "Depends"
    },
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "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": "knitr",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "ciTools",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "reconverse",
  "_selfowned": false,
  "_usedby": 2,
  "_updates": [],
  "_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": 114159794,
    "type": "organization",
    "name": "Epiverse-CONNECT",
    "followers": 6
  },
  "_downloads": {
    "count": 776,
    "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_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_incidence",
      "title": "Coerce to an incidence object",
      "topics": [
        "as_incidence",
        "as_incidence.default",
        "as_incidence.incidence2"
      ]
    },
    {
      "page": "as_tibble.incidence2",
      "title": "Coerce to a tibble",
      "topics": [
        "as_tibble.incidence2"
      ]
    },
    {
      "page": "as.data.frame.incidence2",
      "title": "Convert incident object to a data frame",
      "topics": [
        "as.data.frame.incidence2"
      ]
    },
    {
      "page": "as.data.table.incidence2",
      "title": "Coerce to a data.table",
      "topics": [
        "as.data.table.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": "estimate_peak",
      "title": "Estimate the peak date of an incidence curve",
      "topics": [
        "estimate_peak",
        "estimate_peaks"
      ]
    },
    {
      "page": "incidence",
      "title": "Compute the incidence of events",
      "topics": [
        "incidence"
      ]
    },
    {
      "page": "incidence_",
      "title": "Compute the incidence of events (tidyselect compatible)",
      "topics": [
        "incidence_"
      ]
    },
    {
      "page": "keep",
      "title": "Keep first, last and peak occurences",
      "topics": [
        "first_peak",
        "keep",
        "keep_first",
        "keep_last",
        "keep_peaks"
      ]
    },
    {
      "page": "mutate.incidence2",
      "title": "Create, modify, and delete incidence2 columns",
      "topics": [
        "mutate.incidence2"
      ]
    },
    {
      "page": "nest.incidence2",
      "title": "Nest rows into a list-column of data frames",
      "topics": [
        "nest.incidence2"
      ]
    },
    {
      "page": "plot.incidence2",
      "title": "Plot an incidence object",
      "topics": [
        "plot.incidence2"
      ]
    },
    {
      "page": "regroup",
      "title": "Regroup 'incidence' objects",
      "topics": [
        "regroup"
      ]
    },
    {
      "page": "regroup_",
      "title": "Regroup 'incidence' objects (tidyselect compatible)",
      "topics": [
        "regroup_"
      ]
    },
    {
      "page": "split.incidence2",
      "title": "Divide an incidence2 object in to it's implicit groupings",
      "topics": [
        "split.incidence2"
      ]
    },
    {
      "page": "summarise.incidence2",
      "title": "Summarise each grouping down to one row",
      "topics": [
        "summarise.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": "knitr::knitr",
      "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": "2023-01-24 15:02:37",
      "modified": "2024-10-06 18:35:20",
      "commits": 36
    }
  ],
  "_score": 6.877831891492894,
  "_indexed": false,
  "_nocasepkg": "incidence2",
  "_universes": [
    "epiverse-connect"
  ],
  "_indexurl": "https://reconverse.r-universe.dev/incidence2",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:15:31.000Z",
      "distro": "resolute",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/143c139848449167d13f51026a65da94fa523a52acf867b7864f20c3dbb806d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:15:46.000Z",
      "distro": "resolute",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/8d6a135adf5b50ccdb61118dee6ef54db50c2d36016383c77117c5db8d5bd798",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:33:57.000Z",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/a8055101984500d2a08bca11a5965b6ddb13554866f479054ab046fd17e4924c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:33:11.000Z",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/5da3599d1191cc1f99bc098b6da191d1e0248c7829906f8c7ea802437f95bf34",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:15:41.000Z",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/638a82ac7f1eacdcbc8e590eb8f9aa3716f97ffa4e7349c67ac93223ae13a99c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:14:40.000Z",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/153cebb363c75a1d3788973d4c81bcde2843c1a700b2368099fd9efea71f303e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:14:48.000Z",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/1bd60428929832291dc54751717212144b98d47e8dcafe9fd9b709096dec21b1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "2.6.0.9000",
      "date": "2026-10-08T09:14:50.000Z",
      "commit": "508ddb942e8fa8ac17b3e5aaaa982233f880271b",
      "fileid": "https://r2.ropensci.org/8c0b6a1a5f036745bca00e1c1cfedd66ec361fea8c431f55fefb4f0635df74d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiverse-connect/actions/runs/37754807153"
    }
  ]
}