{
  "_id": "6a101747acfb0bcc41c84dc8",
  "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-05-22 08:40:53 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": "3d8a1dcdcedc22adb9fdb93749413e64",
  "_user": "ctu-bern",
  "_type": "src",
  "_file": "kpitools_0.2.3.tar.gz",
  "_fileid": "1d5629c50736059948386f49364be098dc6af556fc90bef665b7a14b26a97494",
  "_filesize": 830477,
  "_sha256": "1d5629c50736059948386f49364be098dc6af556fc90bef665b7a14b26a97494",
  "_created": "2026-05-22T08:40:53.000Z",
  "_published": "2026-05-22T08:43:51.582Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345902641,
      "time": 146,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7156428177"
    },
    {
      "job": 77345902674,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7156428569"
    },
    {
      "job": 77345902690,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7156424780"
    },
    {
      "job": 77345902713,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7156419816"
    },
    {
      "job": 77345413266,
      "time": 199,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156381833"
    },
    {
      "job": 77345902669,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156419041"
    },
    {
      "job": 77345902656,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7156411707"
    },
    {
      "job": 77345902637,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7156411119"
    },
    {
      "job": 77345902661,
      "time": 97,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7156414105"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422",
  "_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",
    "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-05-22T08:43:04.000Z",
      "distro": "noble",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "1e7d487ce5acad592e6ac2d95bd88810ada596ba4602d774e78020634a1216b6",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T08:43:07.000Z",
      "distro": "noble",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "de60c062fc4fcd29929d37345dc16218447033421a40773c649cf0c7a82fe1c9",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T08:42:50.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "ae111bc6c0ff7b6707895e1bb194ffa57b6a61bb0e31291d396ab5601da53826",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T08:42:43.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "8a83cd802fcc80af15105f4f938a651ec5d39c2f5ee4eb5ccf7f7879fd04136a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-05-22T08:43:07.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "b08d443a1c20eef4b64066ba3f315f8ed7b2d9678a559b87ee5307e4fb362314",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T08:42:07.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "28f614da2a5f84c6a5f08a62be6131b5b18cf06d32c85980c567ecacba2dbabc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T08:42:04.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "9a0061799d99d56cd4ac078d6b4ab60c8907d13e7ad3d461b6d1f4ff4b04f926",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T08:42:14.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "fe05c75aff5eb65ceec6c62ad2b70c6634db12f2be9b3d89cd5931b30b78eeb0",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277531422"
    }
  ]
}