{
  "_id": "6a1bf7491d7bb097a0a26ab0",
  "Package": "NHSRdatasets",
  "Type": "Package",
  "Title": "NHS and Healthcare-Related Data for Education and Training",
  "Date": "2022-11-08",
  "Version": "0.3.3",
  "Authors@R": "c(\nperson(\"Gary\", \"Hutson\", , , \"aut\", comment = c(ORCID=\"0000-0003-3534-6143\")),\nperson(\"Tom\", \"Jemmett\", ,\"thomas.jemmett@nhs.net\", \"aut\", comment = c(ORCID=\"0000-0002-6943-2990\")),\nperson(\"Chris\", \"Mainey\", ,\"c.mainey1@nhs.net\", c(\"aut\", \"cre\"), comment = c(ORCID =\"0000-0002-3018-6171\")),\nperson(\"Fran\", \"Barton\", ,\"fbarton@alwaysdata.net\", \"aut\", comment = c(ORCID = \"0000-0002-5650-1176\")),\nperson(\"Zoë\", \"Turner\", role = \"aut\", email = \"zoe.turner3@nhs.net\", comment = c(ORCID = \"0000-0003-1033-9158\")),\nperson(\"NHS-R community\", role = \"cph\")\n)",
  "Maintainer": "Zoë Turner <zoe.turner3@nhs.net>",
  "Description": "Free United Kingdom National Health Service (NHS) and\nother healthcare, or population health-related data for\neducation and training purposes. This package contains\nsynthetic data based on real healthcare datasets, or cuts of\nopen-licenced official data.  This package exists to support\nskills development in the NHS-R community:\n<https://nhsrcommunity.com/>.",
  "License": "CC0",
  "Language": "en-GB",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "BugReports": "https://github.com/nhs-r-community/NHSRdatasets/issues",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/nhs-r-community/NHSRdatasets,\nhttps://nhs-r-community.github.io/NHSRdatasets/",
  "Repository": "https://nhs-r-community.r-universe.dev",
  "Date/Publication": "2024-12-05 13:42:20 UTC",
  "RemoteUrl": "https://github.com/nhs-r-community/NHSRdatasets",
  "RemoteRef": "main",
  "RemoteSha": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-31 08:50:08 UTC",
    "User": "root"
  },
  "Author": "Gary Hutson [aut] (ORCID: <https://orcid.org/0000-0003-3534-6143>),\nTom Jemmett [aut] (ORCID: <https://orcid.org/0000-0002-6943-2990>),\nChris Mainey [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-3018-6171>),\nFran Barton [aut] (ORCID: <https://orcid.org/0000-0002-5650-1176>),\nZoë Turner [aut] (ORCID: <https://orcid.org/0000-0003-1033-9158>),\nNHS-R community [cph]",
  "MD5sum": "a41d8d70eb29b70f3da0d1029f42d738",
  "_user": "nhs-r-community",
  "_type": "src",
  "_file": "NHSRdatasets_0.3.3.tar.gz",
  "_fileid": "80bf007733f76ee7986349a0b65a9e486bd1c2ef0cc23e55717c7e7993c05fb9",
  "_filesize": 1049116,
  "_sha256": "80bf007733f76ee7986349a0b65a9e486bd1c2ef0cc23e55717c7e7993c05fb9",
  "_created": "2026-05-31T08:50:08.000Z",
  "_published": "2026-05-31T08:54:33.093Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78713265806,
      "time": 232,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315382156"
    },
    {
      "job": 78713265800,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315374045"
    },
    {
      "job": 78713265801,
      "time": 114,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315371005"
    },
    {
      "job": 78713265807,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315367696"
    },
    {
      "job": 78713043646,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315359384"
    },
    {
      "job": 78713265797,
      "time": 125,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315372000"
    },
    {
      "job": 78713265813,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7315369894"
    },
    {
      "job": 78713265814,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7315368009"
    },
    {
      "job": 78713265815,
      "time": 75,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7315367399"
    }
  ],
  "_buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nhs-r-community/NHSRdatasets",
  "_commit": {
    "id": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
    "author": "Anya Ferguson <157487567+anyaferguson@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #108 from nhs-r-community/all-contributors/add-anyaferguson\n\ndocs: add anyaferguson as a contributor for design",
    "time": 1733406140
  },
  "_maintainer": {
    "name": "Zoë Turner",
    "email": "zoe.turner3@nhs.net",
    "login": "lextuga007",
    "description": "",
    "uuid": 39963221,
    "orcid": "0000-0002-3018-6171"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "caret",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "e1071",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "ggrepel",
      "role": "Suggests"
    },
    {
      "package": "httr2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "lattice",
      "role": "Suggests"
    },
    {
      "package": "lme4",
      "role": "Suggests"
    },
    {
      "package": "lmtest",
      "role": "Suggests"
    },
    {
      "package": "lubridate",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "ModelMetrics",
      "role": "Suggests"
    },
    {
      "package": "rcmdcheck",
      "role": "Suggests"
    },
    {
      "package": "readr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rsample",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "synthpop",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "varhandle",
      "role": "Suggests"
    }
  ],
  "_owner": "nhs-r-community",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "dataset",
    "hacktoberfest"
  ],
  "_stars": 72,
  "_contributors": [
    {
      "user": "chrismainey",
      "count": 161,
      "uuid": 39626211
    },
    {
      "user": "lextuga007",
      "count": 67,
      "uuid": 39963221
    },
    {
      "user": "tomjemmett",
      "count": 23,
      "uuid": 12023696
    },
    {
      "user": "statsgary",
      "count": 12,
      "uuid": 44023992
    },
    {
      "user": "jacgrout",
      "count": 7,
      "uuid": 103451105
    },
    {
      "user": "anyaferguson",
      "count": 5,
      "uuid": 157487567
    },
    {
      "user": "cathblatter",
      "count": 1,
      "uuid": 24943957
    },
    {
      "user": "francisbarton",
      "count": 1,
      "uuid": 1819920
    },
    {
      "user": "jasonpott",
      "count": 1,
      "uuid": 43917006
    },
    {
      "user": "statsrhian",
      "count": 1,
      "uuid": 7017740
    }
  ],
  "_userbio": {
    "uuid": 53170984,
    "type": "organization",
    "name": "NHS-R Community",
    "description": "A community for analysts and data scientists working in the UK's Health Sector and using R"
  },
  "_downloads": {
    "count": 369,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/NHSRdatasets"
  },
  "_devurl": "https://github.com/nhs-r-community/nhsrdatasets",
  "_pkgdown": "https://nhs-r-community.github.io/NHSRdatasets/",
  "_searchresults": 152,
  "_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/NHSRdatasets.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/nhs-r-community/nhsrdatasets",
  "_realowner": "nhs-r-community",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2019-08-03"
    },
    {
      "version": "0.1.2",
      "date": "2019-09-27"
    },
    {
      "version": "0.2.0",
      "date": "2020-05-04"
    },
    {
      "version": "0.3.0",
      "date": "2021-03-14"
    }
  ],
  "_exports": [],
  "_datasets": [
    {
      "name": "ae_attendances",
      "title": "NHS England Accident & Emergency Attendances and Admissions",
      "object": "ae_attendances",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "period",
        "org_code",
        "type",
        "attendances",
        "breaches",
        "admissions"
      ],
      "rows": 12765,
      "table": true,
      "tojson": true
    },
    {
      "name": "apha_cpd_survey",
      "title": "AphA (Association of Professional Healthcare Analysts) CPD Survey Responses",
      "object": "apha_cpd_survey",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "respondent_id",
        "form_started_dttm",
        "form_ended_dttm",
        "q00a_age_bracket_cat",
        "q01a_gender_cat",
        "q02a_max_education_level_cat",
        "q03a_analyst_years_n",
        "q04a_role_description_cat",
        "q05a_afc_band_cat",
        "q06a_current_org_years_cat",
        "q07a_future_health_work_cat",
        "q08a_apha_aware_ind",
        "q09a_apha_registered_cat",
        "q10a_other_org_member_txt",
        "q11a_nhs_cpd_aware_cat",
        "q12a_cpd_time_at_work_cat",
        "q13a_cpd_outside_work_ind",
        "q13b_cpd_outside_work_days_txt",
        "q14a_mgr_cpd_supportive_cat",
        "q15a_mgr_cpd_more_support_ind",
        "q16a_org_cpd_supportive_cat",
        "q17a_org_cpd_budget_cat",
        "q17b_org_cpd_budget_txt",
        "q18a_org_study_leave_ind",
        "q18b_org_study_leave_days_txt",
        "q19a_mgr_cpd_discuss_freq_cat",
        "q20a_cpd_opps_nhs_intranet_ind",
        "q20b_cpd_opps_org_website_ind",
        "q20c_cpd_opps_blogs_ind",
        "q20d_cpd_opps_twitter_ind",
        "q20e_cpd_opps_linkedin_ind",
        "q20f_cpd_opps_word_of_mouth_ind",
        "q20g_cpd_opps_apha_website_ind",
        "q20h_cpd_opps_other_txt",
        "q21a_cpd_opps_sources_txt",
        "q22a_org_nhs_type_cat",
        "q23a_org_analyst_team_size_cat",
        "q24a_org_analytics_influence_cat"
      ],
      "rows": 237,
      "table": true,
      "tojson": true
    },
    {
      "name": "covid19",
      "title": "International COVID-19 reported infection and death data",
      "object": "covid19",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date_reported",
        "continent",
        "countries_and_territories",
        "country_territory_code",
        "population_2019",
        "cases",
        "deaths"
      ],
      "rows": 61900,
      "table": true,
      "tojson": true
    },
    {
      "name": "LOS_model",
      "title": "Hospital Length of Stay (LOS) Data",
      "object": "LOS_model",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "Organisation",
        "Age",
        "LOS",
        "Death"
      ],
      "rows": 300,
      "table": true,
      "tojson": true
    },
    {
      "name": "ons_mortality",
      "title": "Deaths registered weekly in England and Wales, provisional",
      "object": "ons_mortality",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "category_1",
        "category_2",
        "counts",
        "date",
        "week_no"
      ],
      "rows": 18803,
      "table": true,
      "tojson": true
    },
    {
      "name": "ons_uk_population_2023",
      "title": "ONS Mid-2023 Population Estimate for UK",
      "object": "ons_uk_population_2023",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "sex",
        "Code",
        "Name",
        "Geography",
        "age",
        "count"
      ],
      "rows": 1274,
      "table": true,
      "tojson": true
    },
    {
      "name": "stranded_data",
      "title": "Stranded Patient (Patients flagged as having a greater than 7 day LOS) Model",
      "object": "stranded_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "stranded.label",
        "age",
        "care.home.referral",
        "medicallysafe",
        "hcop",
        "mental_health_care",
        "periods_of_previous_care",
        "admit_date",
        "frailty_index"
      ],
      "rows": 768,
      "table": true,
      "tojson": true
    },
    {
      "name": "synthetic_news_data",
      "title": "Synthetic National Early Warning Scores Data",
      "object": "synthetic_news_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "male",
        "age",
        "NEWS",
        "syst",
        "dias",
        "temp",
        "pulse",
        "resp",
        "sat",
        "sup",
        "alert",
        "died"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "ae_attendances",
      "title": "NHS England Accident & Emergency Attendances and Admissions",
      "topics": [
        "ae_attendances"
      ]
    },
    {
      "page": "apha_cpd_survey",
      "title": "AphA (Association of Professional Healthcare Analysts) CPD Survey Responses",
      "topics": [
        "apha_cpd_survey"
      ]
    },
    {
      "page": "covid19",
      "title": "International COVID-19 reported infection and death data",
      "topics": [
        "covid19"
      ]
    },
    {
      "page": "LOS_model",
      "title": "Hospital Length of Stay (LOS) Data",
      "topics": [
        "LOS_model"
      ]
    },
    {
      "page": "ons_mortality",
      "title": "Deaths registered weekly in England and Wales, provisional",
      "topics": [
        "ons_mortality"
      ]
    },
    {
      "page": "ons_uk_population_2023",
      "title": "ONS Mid-2023 Population Estimate for UK",
      "topics": [
        "ons_uk_population_2023"
      ]
    },
    {
      "page": "stranded_data",
      "title": "Stranded Patient (Patients flagged as having a greater than 7 day LOS) Model",
      "topics": [
        "stranded_data"
      ]
    },
    {
      "page": "synthetic_news_data",
      "title": "Synthetic National Early Warning Scores Data",
      "topics": [
        "synthetic_news_data"
      ]
    }
  ],
  "_readme": "https://github.com/nhs-r-community/NHSRdatasets/raw/main/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "ae_attendances.Rmd",
      "filename": "ae_attendances.html",
      "title": "ae_attendances dataset",
      "author": "[Tom Jemmett][tj_email], [The Strategy Unit][su_web]",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What are the best and worst trusts for performance?",
        "Benchmarking"
      ],
      "created": "2019-09-26 11:53:03",
      "modified": "2024-09-28 21:59:50",
      "commits": 7
    },
    {
      "source": "LOS_model.Rmd",
      "filename": "LOS_model.html",
      "title": "LOS_model: A simulated hospital length-of-stay dataset",
      "author": "Chris Mainey",
      "engine": "knitr::rmarkdown",
      "headings": [
        "First, load the data and inspect it",
        "Modelling LOS and Death",
        "Generalized Linear Models",
        "Modelling death:",
        "Interactions",
        "Prediction",
        "Length of Stay (LOS)",
        "Overdispersion",
        "Summary",
        "References"
      ],
      "created": "2019-07-27 23:09:14",
      "modified": "2024-09-28 21:59:50",
      "commits": 9
    },
    {
      "source": "NHSRdatasets.Rmd",
      "filename": "NHSRdatasets.html",
      "title": "NHSRdatasets",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Viewing the data in the console",
        "Printing tibbles in RMarkdown or Quarto",
        "Creating an object",
        "Finding help"
      ],
      "created": "2024-09-29 18:24:03",
      "modified": "2024-10-01 16:46:25",
      "commits": 2
    },
    {
      "source": "stranded_model.Rmd",
      "filename": "stranded_model.html",
      "title": "Stranded Model Tutorial",
      "author": "Gary Hutson",
      "engine": "knitr::rmarkdown",
      "headings": [
        "First, load the data and inspect it",
        "Feature engineering",
        "Splitting the data",
        "Create simple Logistic Regression Model to classify stranded patients",
        "Predicting the test set to validate model",
        "Evaluating with confusion matrix",
        "Conclusion"
      ],
      "created": "2021-03-08 16:32:41",
      "modified": "2024-09-28 21:59:50",
      "commits": 4
    },
    {
      "source": "synthetic_news_data.Rmd",
      "filename": "synthetic_news_data.html",
      "title": "Synthetic NEWS Data",
      "author": "Jason Pott",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Loading the dataset from NHSRDatasets",
        "What is NEWS?",
        "Criticisms of NEWS",
        "Here are some code chunks for the calculation of NEWS sub scores:",
        "Systolic Blood pressure (column syst)",
        "Heart Rate (column pulse)",
        "Resp Rate (column resp)",
        "SpO2 Oxygen Saturation (column sat)",
        "Temperature (column temp)",
        "Summary"
      ],
      "created": "2021-03-09 12:20:27",
      "modified": "2024-10-17 20:45:48",
      "commits": 5
    }
  ],
  "_score": 8.391358602487404,
  "_indexed": true,
  "_nocasepkg": "nhsrdatasets",
  "_universes": [
    "nhs-r-community",
    "lextuga007"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-31T08:54:01.000Z",
      "distro": "noble",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "14235bf0c216635722e1daaa2fb37a84ad863f9b1de652d042504512811a0de2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.3",
      "date": "2026-05-31T08:52:37.000Z",
      "distro": "noble",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "60990e6465a0de593d540bc0449c3fbdd185ef44ce592d0306a1ca4e806791a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-31T08:52:06.000Z",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "fbef8ab016de3972f807cc60c662e17540af4cffffa1ee88fc127eef137845cb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.3",
      "date": "2026-05-31T08:51:35.000Z",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "6b30529f0835f34351d969c3433183ca822221df848cb6876d41fb68685c6daa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.3",
      "date": "2026-05-31T08:52:28.000Z",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "5b7674689177a532436010a4f891d1ce33ad2a789223c4da9c48c151a14697a4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-31T08:51:47.000Z",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "b1b998332a735833ddd8237722a808b5546477aebdd4bdcfc27820cbc2022332",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-31T08:51:30.000Z",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "3f6fdee2fb1773f83e980477a4023d930d90e706c3238abd674a004da2ca3fe6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.3",
      "date": "2026-05-31T08:51:24.000Z",
      "commit": "7fe35a54a3aa380ad6008d872ae465d092aa11b0",
      "fileid": "8895de0867f1346208a3d8646881a6871757cf566117c54184abd3df2b634e56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/nhs-r-community/actions/runs/26708071079"
    }
  ]
}