{
  "_id": "6a37a4533efcd9bda44214a7",
  "Package": "kpitools",
  "Title": "Tools for creating key performance indicator reports for\nclinical trial",
  "Version": "0.2.3",
  "Authors@R": "c(person(given = \"Alan G.\",\nfamily = \"Haynes\",\nrole = c(\"aut\", \"cre\"),\nemail = \"alan.haynes@unibe.ch\",\ncomment = c(ORCID = \"0000-0003-1374-081X\")),\nperson(given = \"Mattia\",\nfamily = \"Branca\",\nrole = c(\"ctb\"),\ncomment = c(ORCID = \"0000-0002-8063-7882\")))",
  "Description": "Assessing performance of clinical trials can assist\nidentify problems earlier in the trial than might be possible\nwithout it and help to improve trial quality. Tools for the\ncreating performance indicator reports are however uncommon.\n'kpitools' aims to provide tools to create such reports.",
  "URL": "https://github.com/dcr-unibe-ch/kpitools,\nhttps://dcr-unibe-ch.github.io/kpitools/",
  "BugReports": "https://github.com/dcr-unibe-ch/kpitools/issues",
  "License": "GPL (>= 3)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://ctu-bern.r-universe.dev",
  "Date/Publication": "2026-03-23 17:03:52 UTC",
  "RemoteUrl": "https://github.com/CTU-Bern/kpitools",
  "RemoteRef": "HEAD",
  "RemoteSha": "1424f6545fb23e47f801482c034b6a2baf1baae1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-21 08:40:47 UTC",
    "User": "root"
  },
  "Author": "Alan G. Haynes [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1374-081X>),\nMattia Branca [ctb] (ORCID: <https://orcid.org/0000-0002-8063-7882>)",
  "Maintainer": "Alan G. Haynes <alan.haynes@unibe.ch>",
  "MD5sum": "72d61fe811ac1c93ce485c3ad44734c4",
  "_user": "ctu-bern",
  "_type": "src",
  "_file": "kpitools_0.2.3.tar.gz",
  "_fileid": "a61d4426eb77bc5a9d945a1e7126277fe697831199d40818dc8ef1ce85ec9958",
  "_filesize": 831915,
  "_sha256": "a61d4426eb77bc5a9d945a1e7126277fe697831199d40818dc8ef1ce85ec9958",
  "_created": "2026-06-21T08:40:47.000Z",
  "_published": "2026-06-21T08:44:03.551Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82555638448,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7773572508"
    },
    {
      "job": 82555638450,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7773572358"
    },
    {
      "job": 82555638464,
      "time": 88,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7773564055"
    },
    {
      "job": 82555638463,
      "time": 96,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7773564806"
    },
    {
      "job": 82555385517,
      "time": 241,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773551930"
    },
    {
      "job": 82555638445,
      "time": 116,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7773567511"
    },
    {
      "job": 82555638460,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7773565694"
    },
    {
      "job": 82555638458,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7773564841"
    },
    {
      "job": 82555638459,
      "time": 103,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7773566057"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/CTU-Bern/kpitools",
  "_commit": {
    "id": "1424f6545fb23e47f801482c034b6a2baf1baae1",
    "author": "Alan Haynes <aghaynes@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add DCR-R-CMD-CHECK workflow",
    "time": 1774285432
  },
  "_maintainer": {
    "name": "Alan G. Haynes",
    "email": "alan.haynes@unibe.ch",
    "login": "aghaynes",
    "twitter": "@aghaynes",
    "description": "",
    "uuid": 6594028,
    "orcid": "0000-0003-1374-081X"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "dplyr",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Depends"
    },
    {
      "package": "magrittr",
      "role": "Depends"
    },
    {
      "package": "purrr",
      "role": "Depends"
    },
    {
      "package": "rlang",
      "role": "Depends"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "patchwork",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ctu-bern",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "key-performance-indicator",
    "kpi",
    "quality-control"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "aghaynes",
      "count": 176,
      "uuid": 6594028
    },
    {
      "user": "mbranca",
      "count": 2,
      "uuid": 52954127
    }
  ],
  "_userbio": {
    "uuid": 45794307,
    "type": "organization",
    "name": "CTU Bern",
    "followers": 14,
    "description": "CTU Bern is the Clinical Trials Unit of the Faculty of Medicine and the Department of Clinical Research of the University of Bern"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kpitools"
  },
  "_devurl": "https://github.com/dcr-unibe-ch/kpitools",
  "_pkgdown": "https://dcr-unibe-ch.github.io/kpitools/",
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kpitools.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "as.kpilist",
    "fab_dow",
    "fab_tod",
    "kpi",
    "kpi_accumulate",
    "kpi_fn_iqr",
    "kpi_fn_max",
    "kpi_fn_mean",
    "kpi_fn_median",
    "kpi_fn_min",
    "kpi_fn_missing",
    "kpi_fn_n",
    "kpi_fn_perc",
    "kpi_fn_prop",
    "kpi_fns",
    "riskcols",
    "risklabs",
    "theme_kpitools"
  ],
  "_help": [
    {
      "page": "as.kpilist",
      "title": "Convert a list to a kpilist",
      "topics": [
        "as.kpilist"
      ]
    },
    {
      "page": "c.kpi",
      "title": "Concatenate 'kpi' objects",
      "topics": [
        "c.kpi"
      ]
    },
    {
      "page": "fab_dow",
      "title": "Day of week figure(s)",
      "topics": [
        "fab_dow"
      ]
    },
    {
      "page": "fab_tod",
      "title": "Time of day figure(s)",
      "topics": [
        "fab_tod"
      ]
    },
    {
      "page": "kpi",
      "title": "Create KPI tables",
      "topics": [
        "kpi"
      ]
    },
    {
      "page": "kpi_accumulate",
      "title": "Accumulate kpilists into KPIs per site lists The KPIs themselves are all well and good for e.g. a report where you walk through each individual KPI and present all of the info there, but they're not ideal if you want all of the KPIs for a given site or country or the overall study in a single table. 'kpi_accumulate' does this conversion",
      "topics": [
        "kpi_accumulate"
      ]
    },
    {
      "page": "kpi_fn_",
      "title": "KPI summary functions",
      "topics": [
        "IQR",
        "kpi_fn_iqr",
        "kpi_fn_max",
        "kpi_fn_mean",
        "kpi_fn_median",
        "kpi_fn_min",
        "kpi_fn_missing",
        "kpi_fn_n",
        "kpi_fn_perc",
        "kpi_fn_prop",
        "Maximum",
        "Mean",
        "Median",
        "Minimum",
        "Missing",
        "Percentages",
        "Proportions"
      ]
    },
    {
      "page": "kpi_fns",
      "title": "Get a list of KPI summary functions provided by 'kpitools'.",
      "topics": [
        "kpi_fns"
      ]
    },
    {
      "page": "kpi_outlier",
      "title": "Get the outliers",
      "topics": [
        "kpi_outlier"
      ]
    },
    {
      "page": "plot.kpi",
      "title": "Plot KPI objects",
      "topics": [
        "plot.kpi"
      ]
    },
    {
      "page": "print.kpi",
      "title": "Print method for kpi objects",
      "topics": [
        "print.kpi"
      ]
    },
    {
      "page": "riskcols",
      "title": "Colors for KPIs cutoffs",
      "topics": [
        "riskcols"
      ]
    },
    {
      "page": "risklabs",
      "title": "Labels for KPIs with cutoffs",
      "topics": [
        "risklabs"
      ]
    },
    {
      "page": "theme_kpitools",
      "title": "kpitools 'ggplot2' theme",
      "topics": [
        "theme_kpitools"
      ]
    }
  ],
  "_pkglogo": "https://github.com/CTU-Bern/kpitools/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/CTU-Bern/kpitools/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "fabrication.Rmd",
      "filename": "fabrication.html",
      "title": "Detecting data fabrication with kpitools",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Day of week",
        "Time of day"
      ],
      "created": "2021-06-23 06:09:07",
      "modified": "2021-06-23 06:09:07",
      "commits": 1
    },
    {
      "source": "kpitools.Rmd",
      "filename": "kpitools.html",
      "title": "Using kpitools",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Summary functions",
        "Using custom functions",
        "Hierarchies",
        "Plotting",
        "From summary statistics to risk",
        "Individual KPIs to sets of KPIs"
      ],
      "created": "2021-05-10 14:02:47",
      "modified": "2021-06-17 14:16:08",
      "commits": 6
    }
  ],
  "_score": 3.778151250383644,
  "_indexed": true,
  "_nocasepkg": "kpitools",
  "_universes": [
    "ctu-bern",
    "aghaynes",
    "dcr-unibe-ch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-06-21T08:43:08.000Z",
      "distro": "noble",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "4ae60b5db3b3679e7722bcb07ffd7b654a25adee9cef6d9bbc8779ea6723916f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-06-21T08:43:09.000Z",
      "distro": "noble",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "00ac60084bc9b35e3f2aecfac1e7a7adac37dd338247386fc0ba6bbd4acbc239",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-06-21T08:42:15.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "877fed5af56946419e9be443136e7f337348f659715146758a8846fb0c1a3701",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-06-21T08:42:21.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "3b9b79a5c9195007f2fe869e46c93ae19a6158da8c9c72ad4f181bbfac926169",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-06-21T08:43:03.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "e96a4099a513740348bf419fb7274d940fb5ead7a9c27c088273c176f95381ed",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-06-21T08:42:09.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "0383ef4920442ba90109a1ad8221215e3162a453aa000b92f9398d681f16fbe2",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-06-21T08:42:03.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "0bbcf90098b909596287291e3696c0304fee175603c1e9cd0759c10e914ffad8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-06-21T08:42:06.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "b34566532b7fb3b033467deddd384dac2142121b9c09784ac703edbbff5208c0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/27898862038"
    }
  ]
}