{
  "_id": "6a5f33a614e95619b75d5795",
  "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-07-21 08:49:41 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>",
  "_user": "dcr-unibe-ch",
  "_type": "src",
  "_file": "kpitools_0.2.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/d07843864f6bd0c4996f4c680c43fabf76a2131caa42e642f6380c32c537a912",
  "_filesize": 831120,
  "_sha256": "d07843864f6bd0c4996f4c680c43fabf76a2131caa42e642f6380c32c537a912",
  "_expires": "2026-10-29T08:53:56.000Z",
  "_created": "2026-07-21T08:49:41.000Z",
  "_published": "2026-07-21T08:53:58.005Z",
  "_jobs": [
    {
      "job": 88586783916,
      "time": 168,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8489341126"
    },
    {
      "job": 88586783866,
      "time": 214,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8489360299"
    },
    {
      "job": 88586783907,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8489333772"
    },
    {
      "job": 88586783891,
      "time": 120,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8489337504"
    },
    {
      "job": 88586093753,
      "time": 199,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8489266053"
    },
    {
      "job": 88586783932,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8489325063"
    },
    {
      "job": 88586783913,
      "time": 101,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "8489311917"
    },
    {
      "job": 88586783939,
      "time": 99,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "8489310611"
    },
    {
      "job": 88586783894,
      "time": 88,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "8489304702"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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)",
    "followers": 2,
    "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.1",
  "_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-07-21T08:52:16.000Z",
      "distro": "resolute",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/55f8d53308ae7d4e82e798e6da73e738de5d7adc846e1c56fea4983f11674be8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.3",
      "date": "2026-07-21T08:52:56.000Z",
      "distro": "resolute",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/31bb2984136c3f798564f069771f10c2d8e2dd07f05b298dee81af91d055ba60",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-07-21T08:52:06.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/2de8bcea51348a3c5a34242ef6cba4e252e160013f0cfe4f1c746c32dfe0fd45",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.3",
      "date": "2026-07-21T08:52:12.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/2aee2f09f45977c5b0546cbb4497ee243c7d970da693265c4152e308ab099295",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.3",
      "date": "2026-07-21T08:52:09.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/41493e7973d6d32b9d53ae12c2233d3793939e18ac31596cf1f77d6d09230a9a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-07-21T08:51:02.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/cfe3597bf815e47a23ede51ded39a0bc6dedecf89240954667d4449ad93e31bc",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-07-21T08:50:59.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/596a423322d039eefb189ab839123a4d3147d525247c6d5ddce35e4d683f1a09",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.3",
      "date": "2026-07-21T08:50:47.000Z",
      "commit": "1424f6545fb23e47f801482c034b6a2baf1baae1",
      "fileid": "https://r2.ropensci.org/1ce48fc72185c8f44c22f35ad8ea54a98fdd4f5ae6991af6067cca8980a6e598",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/29815575904"
    }
  ]
}