{
  "_id": "6a1ed44ab401979e7340e144",
  "Package": "reskit",
  "Title": "Nice selection box of goodies for hobnobbing with NHP model\nresults",
  "Version": "1.0.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.0.0",
  "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-05-15 14:37:19 UTC",
  "RemoteUrl": "https://github.com/The-Strategy-Unit/nhp_reskit",
  "RemoteRef": "HEAD",
  "RemoteSha": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-20 20:37:40 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>",
  "MD5sum": "62829439b23ef6e2d5ad41f60fef6136",
  "_user": "the-strategy-unit",
  "_type": "src",
  "_file": "reskit_1.0.0.tar.gz",
  "_fileid": "003f7bdcc41137240e82d05b625559e4e287aca7be187a58dffb40f971ffebcd",
  "_filesize": 153988,
  "_sha256": "003f7bdcc41137240e82d05b625559e4e287aca7be187a58dffb40f971ffebcd",
  "_created": "2026-05-20T20:37:40.000Z",
  "_published": "2026-06-02T13:02:02.744Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79076177327,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7121002673"
    },
    {
      "job": 79076177959,
      "time": 140,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7120993787"
    },
    {
      "job": 79076177865,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7120989684"
    },
    {
      "job": 79076177746,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7120987168"
    },
    {
      "job": 79076176499,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7120946031"
    },
    {
      "job": 79076176738,
      "time": 155,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7358363390"
    },
    {
      "job": 79076177730,
      "time": 91,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7120976877"
    },
    {
      "job": 79076177929,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7120975037"
    },
    {
      "job": 79076177938,
      "time": 120,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7120987053"
    }
  ],
  "_buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/The-Strategy-Unit/nhp_reskit",
  "_commit": {
    "id": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
    "author": "Fran Barton <francis.barton@nhs.net>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #128 from The-Strategy-Unit/fb/issue127\n\n:face_with_head_bandage: Bump to v1.0",
    "time": 1778855839
  },
  "_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
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "azkit",
      "version": ">= 0.3.0",
      "role": "Imports"
    },
    {
      "package": "AzureStor",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "cli",
      "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": "httr2",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "snakecase",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "yaml12",
      "role": "Imports"
    },
    {
      "package": "yyjsonr",
      "role": "Imports"
    },
    {
      "package": "here",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "the-strategy-unit",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 5
    },
    {
      "week": "2025-29",
      "n": 1
    },
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    },
    {
      "week": "2025-34",
      "n": 1
    },
    {
      "week": "2025-35",
      "n": 3
    },
    {
      "week": "2025-37",
      "n": 3
    },
    {
      "week": "2025-38",
      "n": 1
    },
    {
      "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
    }
  ],
  "_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"
    }
  ],
  "_topics": [
    "new-hospital-programme",
    "nhp-operational",
    "nhp-support"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "francisbarton",
      "count": 218,
      "uuid": 1819920
    },
    {
      "user": "statsrhian",
      "count": 25,
      "uuid": 7017740
    }
  ],
  "_userbio": {
    "uuid": 57942763,
    "type": "organization",
    "name": "The Strategy Unit",
    "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": 1,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/reskit.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_change_cols",
    "compile_change_factor_data",
    "compile_detailed_activity_data",
    "compile_distribution_plot_data",
    "compile_distribution_summary_data",
    "compile_indiv_change_factor_data",
    "compile_principal_los_data",
    "compile_principal_pod_data",
    "export_detailed_activity_data",
    "export_distribution_summary_data",
    "export_principal_cf_data",
    "export_principal_los_data",
    "export_principal_pod_data",
    "get_detailed_pods",
    "get_principal_pods",
    "get_results_dir_path",
    "get_tpma_label_lookup",
    "get_tretspef_lookup",
    "get_trust_sites",
    "make_beeswarm_distrib_plot",
    "make_cumulative_distrib_plot",
    "make_detailed_activity_table",
    "make_distribution_summary_table",
    "make_individual_cf_plot",
    "make_overall_cf_plot",
    "make_principal_los_table",
    "make_principal_pod_table",
    "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_change_factor_data",
      "title": "Prepare data from the 'step_counts' results table for display as charts",
      "topics": [
        "compile_change_factor_data"
      ]
    },
    {
      "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_indiv_change_factor_data",
      "title": "Prepare data from 'step_counts' results table for display as charts",
      "topics": [
        "compile_indiv_change_factor_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": "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_principal_cf_data",
      "title": "Prepare a site-level summary table of change_factor results",
      "topics": [
        "export_principal_cf_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_results_dir_path",
      "title": "Return a path to a specific results directory",
      "topics": [
        "get_results_dir_path"
      ]
    },
    {
      "page": "get_tpma_label_lookup",
      "title": "Get a lookup of TPMA labels",
      "topics": [
        "get_tpma_label_lookup"
      ]
    },
    {
      "page": "get_tretspef_lookup",
      "title": "Get a lookup of tretspef codes to descriptions",
      "topics": [
        "get_tretspef_lookup"
      ]
    },
    {
      "page": "get_trust_sites",
      "title": "From any results table, get list of all site codes for this scheme",
      "topics": [
        "get_trust_sites"
      ]
    },
    {
      "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_individual_cf_plot",
      "title": "Generate bar charts by change factor at individual TPMA level",
      "topics": [
        "make_individual_cf_plot"
      ]
    },
    {
      "page": "make_overall_cf_plot",
      "title": "Generate overall change factor (\"waterfall\") chart",
      "topics": [
        "make_overall_cf_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": "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",
    "snakecase",
    "stringi",
    "stringr",
    "sys",
    "tibble",
    "tidyr",
    "tidyselect",
    "tinytex",
    "utf8",
    "uuid",
    "V8",
    "vctrs",
    "vipor",
    "viridisLite",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "yaml12",
    "yyjsonr"
  ],
  "_score": 2.929418925714293,
  "_indexed": true,
  "_nocasepkg": "reskit",
  "_universes": [
    "the-strategy-unit",
    "francisbarton"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-20T20:40:26.000Z",
      "distro": "noble",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "1ded4d7464a9037e54f6ef52c080cfd372a724969bcbf93f44922d77ceb8596b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-20T20:40:02.000Z",
      "distro": "noble",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "48cdc47f5f43c9277632e0b10dcf6b9a02dee8acb1a37c04bb30936aa1746121",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-20T20:39:51.000Z",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "70094e159c4d21a3b3ce7de176510f5de31448f760903cffff589ee39c314f36",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-20T20:39:43.000Z",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "df02b2bd0b60b827074f450c329583bfb68bd63ef83baa41ec5340ca439c6128",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-20T20:39:07.000Z",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "223fda8ec47dfd150ec98eac0cb5d42a1fed50681285314cd8b9068202e58670",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-20T20:39:01.000Z",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "d34cb5a29abf61a6c0deeb94745f63f12ff19d6d3d70b0b921096b1115c72316",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-20T20:39:35.000Z",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "4c8b1dd7f6f351236fade39be357ba9cd2f67ef2c58b44210cd65ea07e4c2918",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-02T13:00:50.000Z",
      "commit": "effb6fe1f66ce11150fcbbdafa78ada71c03599a",
      "fileid": "fa9f2a63ca7ab73e664e652c322c86cf7443edee1295afde1d30ca40c47be792",
      "status": "success",
      "buildurl": "https://github.com/r-universe/the-strategy-unit/actions/runs/26188361359"
    }
  ]
}