{
  "_id": "6ab68d5099f7aa8c6aa2ef21",
  "Package": "reskit",
  "Title": "Nice selection box of goodies for hobnobbing with NHP model\nresults",
  "Version": "1.2.0",
  "Authors@R": "c(person(\n\"Fran\", \"Barton\",\nemail = \"francis.barton@nhs.net\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-5650-1176\")\n),\nperson(\n\"Matt\", \"Dray\",\nemail = \"matt.dray@nhs.net\",\nrole = \"ctb\"\n),\nperson(\n\"Rhian\", \"Davies\",\nemail = \"rhian.davies25@nhs.net\",\nrole = \"ctb\"\n))",
  "Description": "'Wafer' goodbye to crumbly code, and dunk a sturdy reskit\nfunction in your data cuppa instead. We've clustered the cream\nof our results code here - it's a cracker!",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Remotes": [
    "The-Strategy-Unit/azkit"
  ],
  "Config/roxygen2/version": "8.1.0",
  "VignetteBuilder": "quarto",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev libnode-dev xz-utils libclang-dev",
  "Repository": "https://the-strategy-unit.r-universe.dev",
  "Date/Publication": "2026-09-25 13:20:33 UTC",
  "RemoteUrl": "https://github.com/The-Strategy-Unit/nhp_reskit",
  "RemoteRef": "HEAD",
  "RemoteSha": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-09-25 14:40:00 UTC",
    "User": "root"
  },
  "Author": "Fran Barton [aut, cre] (ORCID: <https://orcid.org/0000-0002-5650-1176>),\nMatt Dray [ctb],\nRhian Davies [ctb]",
  "Maintainer": "Fran Barton <francis.barton@nhs.net>",
  "_user": "the-strategy-unit",
  "_type": "src",
  "_file": "reskit_1.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/3af992d74df061c8ed3e2438d1cf33b1a70052cfbd7f7479cde9d289ac2441fe",
  "_filesize": 983124,
  "_sha256": "3af992d74df061c8ed3e2438d1cf33b1a70052cfbd7f7479cde9d289ac2441fe",
  "_expires": "2027-01-03T15:03:41.000Z",
  "_created": "2026-09-25T14:40:00.000Z",
  "_published": "2026-09-25T15:03:43.926Z",
  "_jobs": [
    {
      "job": 108117351702,
      "time": 1090,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10871073432"
    },
    {
      "job": 108117352051,
      "time": 1078,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10871692053"
    },
    {
      "job": 108117351876,
      "time": 1060,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10871572529"
    },
    {
      "job": 108117351763,
      "time": 1086,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10871841988"
    },
    {
      "job": 108115586291,
      "time": 283,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10870599299"
    },
    {
      "job": 108117351826,
      "time": 169,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10869944489"
    },
    {
      "job": 108117351810,
      "time": 1307,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "10870949431"
    },
    {
      "job": 108117351807,
      "time": 1378,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "10871368860"
    },
    {
      "job": 108117351853,
      "time": 1367,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "10871592747"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017",
  "_status": "success",
  "_upstream": "https://github.com/The-Strategy-Unit/nhp_reskit",
  "_commit": {
    "id": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
    "author": "Fran Barton <francis.barton@nhs.net>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #222 from The-Strategy-Unit/rtools-link\n\nImprove RTools link",
    "time": 1790342433
  },
  "_maintainer": {
    "name": "Fran Barton",
    "email": "francis.barton@nhs.net",
    "login": "francisbarton",
    "bluesky": "@ludictechnologies.bsky.social",
    "orcid": "0000-0002-5650-1176",
    "description": "Data scientist @The-Strategy-Unit  / R developer / open code, open documentation, open data where possible, open working / reproducibility, geospatial, APIs",
    "uuid": 1819920
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "azkit",
      "version": ">= 0.3.2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "role": "Imports"
    },
    {
      "package": "ggbeeswarm",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "gt",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "yaml12",
      "role": "Imports"
    },
    {
      "package": "yyjsonr",
      "role": "Imports"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "the-strategy-unit",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-51",
      "n": 3
    },
    {
      "week": "2026-06",
      "n": 2
    },
    {
      "week": "2026-09",
      "n": 5
    },
    {
      "week": "2026-10",
      "n": 1
    },
    {
      "week": "2026-11",
      "n": 3
    },
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 11
    },
    {
      "week": "2026-16",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 4
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 3
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 5
    },
    {
      "week": "2026-34",
      "n": 1
    },
    {
      "week": "2026-37",
      "n": 1
    },
    {
      "week": "2026-39",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.2",
      "date": "2025-12-19"
    },
    {
      "name": "v0.3.0",
      "date": "2026-02-27"
    },
    {
      "name": "v0.4.0",
      "date": "2026-03-09"
    },
    {
      "name": "v0.4.1",
      "date": "2026-03-10"
    },
    {
      "name": "v1.0.0",
      "date": "2026-05-15"
    },
    {
      "name": "v1.0.1",
      "date": "2026-06-11"
    },
    {
      "name": "v1.0.2",
      "date": "2026-06-23"
    },
    {
      "name": "v1.0.3",
      "date": "2026-08-06"
    },
    {
      "name": "v1.1.0",
      "date": "2026-08-12"
    },
    {
      "name": "v1.2.0",
      "date": "2026-09-08"
    }
  ],
  "_topics": [
    "new-hospital-programme",
    "nhp-operational",
    "nhp-support",
    "quarto"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "francisbarton",
      "count": 301,
      "uuid": 1819920
    },
    {
      "user": "statsrhian",
      "count": 29,
      "uuid": 7017740
    },
    {
      "user": "matt-dray",
      "count": 3,
      "uuid": 18232097
    }
  ],
  "_userbio": {
    "uuid": 57942763,
    "type": "organization",
    "name": "The Strategy Unit",
    "followers": 130,
    "description": "Leading research, analysis and change from within the NHS"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/reskit"
  },
  "_devurl": "https://github.com/the-strategy-unit/nhp_reskit",
  "_searchresults": 4,
  "_quarto": true,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/reskit.html",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "add_change_cols",
    "compile_detailed_activity_data",
    "compile_distribution_plot_data",
    "compile_distribution_summary_data",
    "compile_grouped_impact_data",
    "compile_principal_los_data",
    "compile_principal_pod_data",
    "compile_tpma_impact_data",
    "export_detailed_activity_data",
    "export_distribution_summary_data",
    "export_impact_data",
    "export_principal_los_data",
    "export_principal_pod_data",
    "get_detailed_pods",
    "get_principal_pods",
    "get_tpma_label_lookup",
    "get_tretspef_lookup",
    "make_beeswarm_distrib_plot",
    "make_cumulative_distrib_plot",
    "make_detailed_activity_table",
    "make_distribution_summary_table",
    "make_grouped_impact_plot",
    "make_principal_los_table",
    "make_principal_pod_table",
    "make_tpma_impact_plot",
    "read_results_parquet_files",
    "shim_results"
  ],
  "_help": [
    {
      "page": "add_change_cols",
      "title": "Add 'change' and 'change_pct' columns to a prepared results table",
      "topics": [
        "add_change_cols"
      ]
    },
    {
      "page": "compile_detailed_activity_data",
      "title": "Prepare data from the 'sex+age_group' or 'sex+tretspef_grouped' table",
      "topics": [
        "compile_detailed_activity_data"
      ]
    },
    {
      "page": "compile_distribution_plot_data",
      "title": "Compile data to support the \"activity distribution summary\" tables",
      "topics": [
        "compile_distribution_plot_data"
      ]
    },
    {
      "page": "compile_distribution_summary_data",
      "title": "Compile data to support the \"activity distribution summary\" tables",
      "topics": [
        "compile_distribution_summary_data"
      ]
    },
    {
      "page": "compile_grouped_impact_data",
      "title": "Prepare data from the 'step_counts' table to use for waterfall chart",
      "topics": [
        "compile_grouped_impact_data"
      ]
    },
    {
      "page": "compile_principal_los_data",
      "title": "Prepare data from tretspef+los_group results for displaying as summary table",
      "topics": [
        "compile_principal_los_data"
      ]
    },
    {
      "page": "compile_principal_pod_data",
      "title": "Prepare data from default results table for displaying as summary table",
      "topics": [
        "compile_principal_pod_data"
      ]
    },
    {
      "page": "compile_tpma_impact_data",
      "title": "Prepare data from 'step_counts' table to use for TPMA impact chart",
      "topics": [
        "compile_tpma_impact_data"
      ]
    },
    {
      "page": "export_detailed_activity_data",
      "title": "Prepare a site-level summary of detailed activity results by PoD and LoS",
      "topics": [
        "export_detailed_activity_data"
      ]
    },
    {
      "page": "export_distribution_summary_data",
      "title": "Prepare a site-level summary of activity distribution summary data",
      "topics": [
        "export_distribution_summary_data"
      ]
    },
    {
      "page": "export_impact_data",
      "title": "Prepare a site-level summary table of change_factor results",
      "topics": [
        "export_impact_data"
      ]
    },
    {
      "page": "export_principal_los_data",
      "title": "Prepare a site-level summary of main projection results by PoD and LoS",
      "topics": [
        "export_principal_los_data"
      ]
    },
    {
      "page": "export_principal_pod_data",
      "title": "Prepare a site-level summary of main projection results",
      "topics": [
        "export_principal_pod_data"
      ]
    },
    {
      "page": "get_detailed_pods",
      "title": "Prepare a lookup table with activity type labels and PoD labels for each PoD",
      "topics": [
        "get_detailed_pods",
        "get_principal_pods"
      ]
    },
    {
      "page": "get_tpma_label_lookup",
      "title": "Prepare a lookup table for all current TPMAs",
      "topics": [
        "get_tpma_label_lookup"
      ]
    },
    {
      "page": "get_tretspef_lookup",
      "title": "Get a lookup of tretspef codes to descriptions",
      "topics": [
        "get_tretspef_lookup"
      ]
    },
    {
      "page": "make_beeswarm_distrib_plot",
      "title": "Generate a \"beeswarm\" chart showing the distribution of model run values",
      "topics": [
        "make_beeswarm_distrib_plot"
      ]
    },
    {
      "page": "make_cumulative_distrib_plot",
      "title": "Generate a cumulative distribution function (ecdf) chart of model run values",
      "topics": [
        "make_cumulative_distrib_plot"
      ]
    },
    {
      "page": "make_detailed_activity_table",
      "title": "Create a gt table with data from compile_detailed_activity_data",
      "topics": [
        "make_detailed_activity_table"
      ]
    },
    {
      "page": "make_distribution_summary_table",
      "title": "Create a gt table with data from compile_distribution_summary_data",
      "topics": [
        "make_distribution_summary_table"
      ]
    },
    {
      "page": "make_grouped_impact_plot",
      "title": "Generate overall change factor (\"waterfall\") chart",
      "topics": [
        "make_grouped_impact_plot"
      ]
    },
    {
      "page": "make_principal_los_table",
      "title": "Create a gt table with data from compile_principal_los_data",
      "topics": [
        "make_principal_los_table"
      ]
    },
    {
      "page": "make_principal_pod_table",
      "title": "Create a gt table with data from compile_principal_pod_data",
      "topics": [
        "make_principal_pod_table"
      ]
    },
    {
      "page": "make_tpma_impact_plot",
      "title": "Generate bar charts by change factor at individual TPMA level",
      "topics": [
        "make_tpma_impact_plot"
      ]
    },
    {
      "page": "read_results_parquet_files",
      "title": "Read a selection of (or all) parquet files in an Azure directory",
      "topics": [
        "read_results_parquet_files"
      ]
    },
    {
      "page": "shim_results",
      "title": "Wrangle tables from old-style results to match format of new-style results",
      "topics": [
        "shim_results"
      ]
    }
  ],
  "_readme": "https://github.com/The-Strategy-Unit/nhp_reskit/raw/HEAD/README.md",
  "_rundeps": [
    "arrow",
    "askpass",
    "assertthat",
    "azkit",
    "AzureAuth",
    "AzureGraph",
    "AzureRMR",
    "AzureStor",
    "base64enc",
    "beeswarm",
    "bigD",
    "bit",
    "bit64",
    "bitops",
    "bslib",
    "cachem",
    "cli",
    "commonmark",
    "cpp11",
    "curl",
    "digest",
    "dplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "fs",
    "generics",
    "ggbeeswarm",
    "ggplot2",
    "glue",
    "gt",
    "gtable",
    "highr",
    "htmltools",
    "htmlwidgets",
    "httr",
    "httr2",
    "isoband",
    "jose",
    "jquerylib",
    "jsonlite",
    "juicyjuice",
    "knitr",
    "labeling",
    "lifecycle",
    "litedown",
    "magrittr",
    "markdown",
    "memoise",
    "mime",
    "openssl",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "reactable",
    "reactR",
    "rlang",
    "rmarkdown",
    "S7",
    "sass",
    "scales",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "uuid",
    "V8",
    "vctrs",
    "vipor",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "yaml12",
    "yyjsonr"
  ],
  "_vignettes": [
    {
      "source": "plots_tables.qmd",
      "filename": "plots_tables.html",
      "title": "Plots and tables with reskit",
      "engine": "quarto::html",
      "headings": [
        "Example using azkit and reskit to download results",
        "Back to our synthetic results data",
        "Moving on to the outputs (tables and charts)",
        "Outputs: tables",
        "\"Main summary table\" - overall change by Point of Delivery",
        "The principal LoS table",
        "Outputs: charts",
        "Impact of changes charts",
        "Overall (\"waterfall\") chart with baseline",
        "Individual change factor (TPMA) impact charts",
        "Activity in detail charts",
        "A chart by sex and age_group",
        "A chart by sex and treatment speciality",
        "Distribution tables and charts",
        "Conclusion"
      ],
      "created": "2026-08-12 14:28:06",
      "modified": "2026-09-08 10:26:33",
      "commits": 3
    }
  ],
  "_score": 4.230448921378274,
  "_indexed": true,
  "_nocasepkg": "reskit",
  "_universes": [
    "the-strategy-unit",
    "francisbarton"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-09-25T14:42:50.000Z",
      "distro": "resolute",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/e308bb091959ef51816d64d7d971a302900ec5e9fbe6d851b32386b647607eb5",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-09-25T14:42:41.000Z",
      "distro": "resolute",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/60f9957e557d10ab2fbb1356ec0073fc3f53b324e1866dbfc17882e917f22023",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-09-25T14:45:56.000Z",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/0b5f25a9b38892302ed2f0a7b7002346c5ce2e963688b021c658ee01348d1d56",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.0",
      "date": "2026-09-25T14:43:47.000Z",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/8dd722260384e676394518d6c2195460a65b3cdfdf42166becdf03677b85acfb",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-09-25T14:43:05.000Z",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/ba2841657e1a5373f0d76a192b5ebab0406f6f49c3d19be0dba60ec671f789dd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-09-25T14:46:18.000Z",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/9237b1be4971b40583e7a987ffc2a0c13251bc9e2d7b224297ed6b300c72981b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-09-25T14:47:31.000Z",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/c7f9247b8e23237b2359a19b769cf269961bc5bb353e939de1fd92d31ebdd07c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-09-25T14:47:20.000Z",
      "commit": "cf8acf73d49858cc74634c5e3f8b9f086843df0d",
      "fileid": "https://r2.ropensci.org/dd73676fb5f268c8445781a4c650ae3471143718aa8a48a9826b33142400b664",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/36148476017"
    }
  ]
}