Skip to content

nhs-r-community/NHSRdatasets

Repository files navigation

NHS-R Community Datasets NHSRdatasetslogo

This package is part of the NHS-R Community suite of R packages.

All Contributors

R-CMD-check Project Status: Active – The project has reached a stable, usable state and is being actively developed. CRAN version Downloads R-CMD-check



Data sources for reuse

This package has been created to help NHS, Public Health and related analysts/data scientists learn to use R. It contains several free datasets, with help files, explaining their structure, and includes vignette examples of their use.

We encourage contributions to the package, both to expand the set of training material, and also as development for newer R/github users as a first or early contribution.
Please add relevant free, open source data sets that you think may benefit the NHS-R Community.

Installation instructions

You can install the package from CRAN with:

install.packages("NHSRdatasets")

To install the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("nhs-r-community/NHSRdatasets")

Once installed go to the Get Started article from the website (the same link can be found on the top right of the GitHub Repository).

Datasets available

Note that the versions can be different between CRAN and currently version 0.3.0 on CRAN doesn’t include the Covid-19 data or AphA CPD Survey data which is available directly from the GitHub repository.

Further information on the data can be found through the page https://nhs-r-community.github.io/NHSRdatasets/ which can also be located at the top left of the GitHub repository.

Contributing

Please see our guidance on how to contribute.

This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

When contributing a dataset, the contributor certifies that:

  • They are the data owner, or are authorised to republish the dataset in question.
  • The dataset does not contain real patient-level or any other sensitive data.
  • Where it is based on sensitive or patient data, the contributor takes full responsibility for sharing the data and certifies that it has been processed, anonymised, aggregated or otherwise protected in accordance with all legal requirements under General Data Protection Regulation (GDPR), or other relevant legislation.

Citation

It’s great to see the NHSRdatasets package and data used as it promotes the work of the NHS-R Community so, where it’s relevant and makes sense, please give us a mention!

Users of the mortality dataset:

The data used to build the mortality dataset in this package is released under © Crown copyright and is free to use under the terms of the Open Government Licence. Any subsequent use should include a source accreditation to ONS to help people find the original releases and any statistical corrections that may have occurred since this was included in this package - Source: Office for National Statistics licensed under the Open Government Licence.

Contributors