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.
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 Getting Started article from the website and the same link can be found on the top right of the GitHub Repository.
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.
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:
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!
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.