{
  "_id": "6a49b34bdbd0482285eb5a59",
  "Package": "nhscancerwaits",
  "Type": "Package",
  "Title": "NHS Cancer Waiting-Time Analysis, Benchmarking and Multilevel\nModelling",
  "Version": "1.0.2",
  "Authors@R": "person(\ngiven = \"Muhammad\",\nfamily = \"Zahir Khan\",\nemail = \"zahirstat007@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0009-0005-7645-8960\")\n)",
  "Description": "Provides tools for importing, harmonising, cleaning,\nanalysing, benchmarking and visualising National Health Service\n(NHS) England Cancer Waiting Times data. The package supports\nnational performance monitoring, provider-level benchmarking\nand cancer pathway comparisons through key performance\nindicator summaries, provider filtering, clustering analyses,\nmixed-effects regression models, variance decomposition,\nintraclass correlation coefficient estimation, adjusted\nprovider performance estimation and sensitivity analyses.\nFunctions are included for exploratory analysis,\npublication-ready visualisations and spreadsheet exports,\nsupporting reproducible health services research, cancer\nservices evaluation, quality improvement and assessment of\nwaiting-time performance across healthcare organisations.\nMixed-effects modelling functionality is based on Bates et al.\n(2015) <doi:10.18637/jss.v067.i01>. Multilevel modelling\nconcepts and variance decomposition follow Gelman and Hill\n(2007, ISBN:9780521686891). Cancer Waiting Times definitions\nand reporting standards follow NHS England\n<https://www.england.nhs.uk/statistics/statistical-work-areas/cancer-waiting-times/>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/zerish12/nhscancerwaits",
  "BugReports": "https://github.com/zerish12/nhscancerwaits/issues",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-19 16:42:34 UTC",
    "User": "root"
  },
  "Author": "Muhammad Zahir Khan [aut, cre] (ORCID:\n<https://orcid.org/0009-0005-7645-8960>)",
  "Maintainer": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-06-19 12:00:14 UTC",
  "RemoteUrl": "https://github.com/cran/nhscancerwaits",
  "RemoteRef": "HEAD",
  "RemoteSha": "77e0eb9da46334018e20ca100277afbddf7cdb50",
  "_user": "cran",
  "_type": "src",
  "_file": "nhscancerwaits_1.0.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/51cd297016945fe589e93f3e10bdbfb29a54a037f6ba53ce8f1b4a0231009dd0",
  "_filesize": 444470,
  "_sha256": "51cd297016945fe589e93f3e10bdbfb29a54a037f6ba53ce8f1b4a0231009dd0",
  "_expires": "2026-10-13T01:28:41.000Z",
  "_created": "2026-06-19T16:42:34.000Z",
  "_published": "2026-07-05T01:28:43.309Z",
  "_jobs": [
    {
      "job": 85182530916,
      "time": 144,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7754698259"
    },
    {
      "job": 85182530970,
      "time": 136,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754696417"
    },
    {
      "job": 85182530772,
      "time": 195,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754659886"
    },
    {
      "job": 85182530867,
      "time": 126,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7754693868"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/27837789673",
  "_status": "success",
  "_upstream": "https://github.com/cran/nhscancerwaits",
  "_commit": {
    "id": "77e0eb9da46334018e20ca100277afbddf7cdb50",
    "author": "Muhammad Zahir Khan <zahirstat007@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.2\n",
    "time": 1781870414
  },
  "_maintainer": {
    "name": "Muhammad Zahir Khan",
    "email": "zahirstat007@gmail.com",
    "login": "zerish12",
    "description": "Dr Muhammad Zahir khan",
    "uuid": 155732033
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.2.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "broom.mixed",
      "role": "Imports"
    },
    {
      "package": "performance",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "writexl",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "quarto",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-25",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.2",
      "date": "2026-06-19"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "zerish12",
      "count": 1,
      "uuid": 155732033
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 610,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/nhscancerwaits"
  },
  "_devurl": "https://github.com/zerish12/nhscancerwaits",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/nhscancerwaits.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2026-06-19"
    }
  ],
  "_exports": [
    "calculate_icc",
    "calculate_silhouette_score",
    "check_cwt_model",
    "clean_cwt_data",
    "cluster_providers",
    "export_excel_tables",
    "export_provider_rankings",
    "extract_model_effects",
    "extract_provider_effects",
    "filter_providers",
    "fit_cwt_mixed_model",
    "load_cwt_data",
    "load_cwt_excel",
    "pivot_provider_months",
    "plot_national_performance",
    "plot_national_trends",
    "plot_pathway_predictions",
    "plot_provider_clusters",
    "plot_provider_effects",
    "predict_pathway_performance",
    "run_sensitivity_analysis",
    "summarise_kpis",
    "summarise_pathways",
    "summarise_providers"
  ],
  "_help": [
    {
      "page": "calculate_icc",
      "title": "Calculate Intraclass Correlation Coefficient",
      "topics": [
        "calculate_icc"
      ]
    },
    {
      "page": "calculate_silhouette_score",
      "title": "Calculate Provider Clustering Silhouette Score",
      "topics": [
        "calculate_silhouette_score"
      ]
    },
    {
      "page": "check_cwt_model",
      "title": "Check Mixed-Model Performance Diagnostics",
      "topics": [
        "check_cwt_model"
      ]
    },
    {
      "page": "clean_cwt_data",
      "title": "Clean NHS Cancer Waiting-Time Data",
      "topics": [
        "clean_cwt_data"
      ]
    },
    {
      "page": "cluster_providers",
      "title": "Cluster Providers by Performance and Activity",
      "topics": [
        "cluster_providers"
      ]
    },
    {
      "page": "export_excel_tables",
      "title": "Export Analysis Tables to Excel",
      "topics": [
        "export_excel_tables"
      ]
    },
    {
      "page": "export_provider_rankings",
      "title": "Export Provider Rankings to Excel",
      "topics": [
        "export_provider_rankings"
      ]
    },
    {
      "page": "extract_model_effects",
      "title": "Extract Fixed Effects from Mixed Model",
      "topics": [
        "extract_model_effects"
      ]
    },
    {
      "page": "extract_provider_effects",
      "title": "Extract Adjusted Provider Effects",
      "topics": [
        "extract_provider_effects"
      ]
    },
    {
      "page": "filter_providers",
      "title": "Filter Providers for Reliable Analysis",
      "topics": [
        "filter_providers"
      ]
    },
    {
      "page": "fit_cwt_mixed_model",
      "title": "Fit Mixed-Effects Model for Cancer Waiting-Time Performance",
      "topics": [
        "fit_cwt_mixed_model"
      ]
    },
    {
      "page": "load_cwt_data",
      "title": "Load NHS Cancer Waiting-Time CSV Files",
      "topics": [
        "load_cwt_data"
      ]
    },
    {
      "page": "load_cwt_excel",
      "title": "Load NHS Cancer Waiting-Time Excel Files",
      "topics": [
        "load_cwt_excel"
      ]
    },
    {
      "page": "pivot_provider_months",
      "title": "Reshape Monthly Provider Performance to Wide Format",
      "topics": [
        "pivot_provider_months"
      ]
    },
    {
      "page": "plot_national_performance",
      "title": "Plot national 62-day Cancer Waiting-Time performance",
      "topics": [
        "plot_national_performance"
      ]
    },
    {
      "page": "plot_national_trends",
      "title": "Plot National Cancer Waiting-Time Trends",
      "topics": [
        "plot_national_trends"
      ]
    },
    {
      "page": "plot_pathway_predictions",
      "title": "Plot Adjusted Pathway Performance",
      "topics": [
        "plot_pathway_predictions"
      ]
    },
    {
      "page": "plot_provider_clusters",
      "title": "Plot Provider Clusters",
      "topics": [
        "plot_provider_clusters"
      ]
    },
    {
      "page": "plot_provider_effects",
      "title": "Plot Adjusted Provider Effects",
      "topics": [
        "plot_provider_effects"
      ]
    },
    {
      "page": "predict_pathway_performance",
      "title": "Predict Adjusted Performance by Cancer Pathway",
      "topics": [
        "predict_pathway_performance"
      ]
    },
    {
      "page": "run_sensitivity_analysis",
      "title": "Run Sensitivity Analyses",
      "topics": [
        "run_sensitivity_analysis"
      ]
    },
    {
      "page": "summarise_kpis",
      "title": "Summarise Cancer Waiting-Time KPIs",
      "topics": [
        "summarise_kpis"
      ]
    },
    {
      "page": "summarise_pathways",
      "title": "Summarise Cancer Pathway Performance",
      "topics": [
        "summarise_pathways"
      ]
    },
    {
      "page": "summarise_providers",
      "title": "Summarise Provider Performance",
      "topics": [
        "summarise_providers"
      ]
    }
  ],
  "_readme": "https://github.com/cran/nhscancerwaits/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "bayestestR",
    "bit",
    "bit64",
    "boot",
    "broom",
    "broom.mixed",
    "cellranger",
    "cli",
    "clipr",
    "cluster",
    "coda",
    "codetools",
    "cpp11",
    "crayon",
    "datawizard",
    "digest",
    "dplyr",
    "farver",
    "forcats",
    "furrr",
    "future",
    "generics",
    "ggplot2",
    "globals",
    "glue",
    "gtable",
    "hms",
    "insight",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "listenv",
    "lme4",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "parallelly",
    "performance",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "purrr",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "readr",
    "readxl",
    "reformulas",
    "rematch",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "writexl"
  ],
  "_vignettes": [
    {
      "source": "nhscancerwaits-workflow.Rmd",
      "filename": "nhscancerwaits-workflow.html",
      "title": "nhscancerwaits Workflow",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Create Example Data",
        "KPI Summary",
        "Provider Filtering",
        "Provider Summary",
        "Pathway Summary",
        "Mixed-Effects Model",
        "Intraclass Correlation Coefficient",
        "Fixed-Effect Estimates",
        "Adjusted Provider Effects",
        "Adjusted Pathway Predictions",
        "Provider Clustering",
        "Sensitivity Analysis",
        "Diagnostic Utilities",
        "Plots",
        "Export Results",
        "Full Applied Workflow",
        "Summary"
      ],
      "created": "2026-06-19 12:00:14",
      "modified": "2026-06-19 12:00:14",
      "commits": 1
    }
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "nhscancerwaits",
  "_universes": [
    "cran",
    "zerish12"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-19T16:44:58.000Z",
      "distro": "noble",
      "commit": "77e0eb9da46334018e20ca100277afbddf7cdb50",
      "fileid": "https://r2.ropensci.org/d7cb1a49af1aaca125029e2ea9d1281a422a9a137cd07c637e67e89ca16b3258",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837789673"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-06-19T16:44:51.000Z",
      "distro": "noble",
      "commit": "77e0eb9da46334018e20ca100277afbddf7cdb50",
      "fileid": "https://r2.ropensci.org/ec2b67aa332380a6a773bd298dd2d02f9b98259e5a825bab4a3f32d922008f29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837789673"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-06-19T16:44:58.000Z",
      "commit": "77e0eb9da46334018e20ca100277afbddf7cdb50",
      "fileid": "https://r2.ropensci.org/a39ca6b13f89790b412be5bde15159f67438d2c2e1d0f0b3abd956c4047f848c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/27837789673"
    }
  ]
}