{
  "_id": "6a10aebeacfb0bcc41cc18e6",
  "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://dcr-unibe-ch.r-universe.dev",
  "Date/Publication": "2026-03-23 17:03:52 UTC",
  "RemoteUrl": "https://github.com/dcr-unibe-ch/kpitools",
  "RemoteRef": "HEAD",
  "RemoteSha": "1424f6545fb23e47f801482c034b6a2baf1baae1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 18:55:12 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": "6f6ac1bb82367a6ba6becba8450512dc",
  "_user": "dcr-unibe-ch",
  "_type": "src",
  "_file": "kpitools_0.2.3.tar.gz",
  "_fileid": "b5aedbabbf1f4a969f0b31786439b16b3d37692e026cf00be28adb6b4658a7ce",
  "_filesize": 830462,
  "_sha256": "b5aedbabbf1f4a969f0b31786439b16b3d37692e026cf00be28adb6b4658a7ce",
  "_created": "2026-05-22T18:55:12.000Z",
  "_published": "2026-05-22T19:30:06.340Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77443776530,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7168251414"
    },
    {
      "job": 77443776541,
      "time": 193,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7168265442"
    },
    {
      "job": 77443776551,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7168723176"
    },
    {
      "job": 77443776545,
      "time": 102,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7168675412"
    },
    {
      "job": 77443012145,
      "time": 196,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168131000"
    },
    {
      "job": 77443776529,
      "time": 108,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168239098"
    },
    {
      "job": 77443776554,
      "time": 99,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7168240346"
    },
    {
      "job": 77443776559,
      "time": 114,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7168242315"
    },
    {
      "job": 77443776602,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7168237579"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/dcr-unibe-ch/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": "dcr-unibe-ch",
  "_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": 264417472,
    "type": "organization",
    "name": "Department of Clinical Research (DCR)",
    "description": "As the University of Bern's Department of Clinical Research, we offer clinical researchers full support from study design to study conduct."
  },
  "_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/dcr-unibe-ch/kpitools/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/dcr-unibe-ch/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": [
    "dcr-unibe-ch",
    "aghaynes"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T19:01:46.000Z",
      "distro": "noble",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "48eb9b7cadb21aa2d817c70497c22b15938e830c7207b1e443b7d7c32f107980",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-05-22T19:02:32.000Z",
      "distro": "noble",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "41d904848006dbcba6b5973c07462ecb96b0fa86ea45535219ec3096fba07682",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T19:29:28.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "423cc26a02070d43b4a68a71f351b7b3b7ca55335ae84273c67abbda16b90939",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-05-22T19:26:24.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "2ead3a67b656ce82bcf6d2ea7765b877c6dcedaf46f4fbbf3d2862c9bd70a6fa",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-05-22T19:01:37.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "534cb2b3598e42095a3f952cb17650ce969d131fc3e877d5c9cd9a186c6f5a22",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T19:01:01.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "605363967eccb425a8f69d11a1b891115c679eed78015853c146f3b5a8b5a576",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T19:01:05.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "fecdbc5418ef88ccbe59259d2f0f0a93e221a02ea0322b481d19b91333f4f91a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-05-22T19:00:55.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "cfc8fa2bc3f3ff92501faccc610670c996204fa6da6ebe94441bed6bc6e9e21a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26277802224"
    }
  ]
}