forked from nhs-r-community/NHSRdatasets
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
63 lines (43 loc) · 3.26 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# NHS R-community Datasets <a href='https://nhsrcommunity.com/'><img src='man/figures/logo.png' align="right" height="80" /></a>
<!-- badges: start -->
[](https://github.com/nhs-r-community/NHSRdatasets/actions)
[](https://www.repostatus.org/#active)
[](https://cran.r-project.org/package=NHSRdatasets)
[](https://cran.r-project.org/package=NHSRdatasets)
<!-- badges: end -->
<br><br>
Please visit: [nhsrcommunity.com](https://nhsrcommunity.com/)
## Datasources 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 (just one at the moment), help files explaining their structure, and `vignette` examples of their use. We encourage contributions to the package, both to expand the set of training material, but also as development for newer `R`/github users as a first contribution. Please add relevant free, open source data sets that you think may benefit the NHS R-community.
## Installation instructions
This packages is available on CRAN or the development version can be installed from source, via this Github repository. You will need [`Rtools`](https://cran.r-project.org/bin/windows/Rtools/) installed to build the package, and the `remotes` package.
```{r install, eval=FALSE}
remotes::install_github("https://github.com/nhs-r-community/NHSRdatasets")
```
## Contribution
Please contribute to this repository, and please cite it when you use it in training or publications.
__To contribute, please:__
* Fork the repository.
* Add your dataset in the `data` folder, in `.rda` format. The best way to do this is with the `usethis` package with "gzip" compression: `usethis::use_data(data, compress="gzip")`
* Please add a minimal `R` function to act as a help file. You can use the `LOS_model` as a guide.
* Please add a `vignette` demonstrating how the data has been/can be used.
* Create a pull request, detailing your additions, and we will review it before merging.
<br>
___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 data.
* Where based on patient data, the contributor takes full responsibility for sharing the data and certifies that. it is has been processed, anonymised, aggregated or otherwise protected in accordance with all legal requirements under General Data Protection Regulation (GDPR), or other relevant legislation.
Please note that the 'NHSRdatasets' project is released with a
[Contributor Code of Conduct](https://github.com/nhs-r-community/NHSRdatasets/blob/master/CODE_OF_CONDUCT.md).
By contributing to this project, you agree to abide by its terms.