-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from nhs-r-community/tidy-package
Tidy package
- Loading branch information
Showing
177 changed files
with
631 additions
and
31,528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"projectName": "NHSRdatasets", | ||
"projectOwner": "nhs-r-community" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,12 @@ Package: NHSRdatasets | |
Type: Package | ||
Title: NHS and Healthcare-Related Data for Education and Training | ||
Date: 2022-11-08 | ||
Version: 0.3.2 | ||
Version: 0.3.3 | ||
Authors@R: c( | ||
person("Gary", "Hutson", , "[email protected]", "aut", comment = c(ORCID="0000-0003-3534-6143")), | ||
person("Gary", "Hutson", , , "aut", comment = c(ORCID="0000-0003-3534-6143")), | ||
person("Tom", "Jemmett", ,"[email protected]", "aut", comment = c(ORCID="0000-0002-6943-2990")), | ||
person("Chris", "Mainey", ,"[email protected]", c("aut", "cre"), comment = c(ORCID ="0000-0002-3018-6171")), | ||
person("Fran", "Barton", ,"[email protected]", "aut", comment = c(ORCID = "0000-0002-5650-1176")), | ||
person("Zoë", "Turner", role = "aut", email = "[email protected]", comment = c(ORCID = "0000-0003-1033-9158")), | ||
person("NHS-R community", role = "cph") | ||
) | ||
|
@@ -16,11 +17,9 @@ License: CC0 | |
Language: en-GB | ||
Encoding: UTF-8 | ||
LazyData: true | ||
RoxygenNote: 7.2.3 | ||
RoxygenNote: 7.3.2 | ||
Depends: R (>= 3.5.0) | ||
BugReports: https://github.com/nhs-r-community/NHSRdatasets/issues | ||
Imports: | ||
tibble | ||
Suggests: | ||
caret, | ||
dplyr, | ||
|
@@ -29,24 +28,21 @@ Suggests: | |
ggplot2, | ||
ggrepel, | ||
httr2, | ||
janitor, | ||
knitr, | ||
labelled, | ||
lattice, | ||
lme4, | ||
lmtest, | ||
lubridate, | ||
magrittr, | ||
MASS, | ||
ModelMetrics, | ||
openxlsx2, | ||
rcmdcheck, | ||
readr, | ||
rmarkdown, | ||
rsample, | ||
scales, | ||
stringi, | ||
synthpop, | ||
tibble, | ||
tidyr, | ||
varhandle | ||
VignetteBuilder: knitr | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,40 @@ | ||
# NHSRdatasets 0.3.3 | ||
|
||
- Moved the vignette for how ONS provisionally recorded deaths to an R script | ||
available in the data-raw folder. | ||
This is also available on the Quarto NHS-R Community website and | ||
[GitHub](https://github.com/nhs-r-community/nhs-r-community/blob/main/blog/building-the-ons-mortality-dataset.qmd) | ||
- Noted in this version the previous addition of the dataset from AphA (with kind | ||
permission) from their CPD Survey, thanks to Fran Barton. Code detailing how the | ||
data was extracted using the httr2 package and tidied can be found in the | ||
[data-raw folder](https://github.com/nhs-r-community/NHSRdatasets/blob/main/data-raw/apha_cpd_survey.R). | ||
- Noted in this version the previous addition of the dataset from European | ||
Centre for Disease Prevention and Control for reported COVID19 infections and | ||
deaths by day and country collected on the 14th December 2020, thanks to Chris | ||
Mainey. | ||
|
||
# NHSRdatasets 0.3.0 | ||
|
||
- Added two new datasets for 'stranded patients' and synthetic early warning scores (NEWS), including vignettes, thanks to Gary Hutson. | ||
- Added two new datasets for 'stranded patients' and synthetic early warning | ||
scores (NEWS), including vignettes, thanks to Gary Hutson. | ||
- Removed Travis and added GitHub actions | ||
|
||
# NHSRdatasets 0.2.0 | ||
|
||
- Added a new ONS Mortality data set, and vignette showing it's construction, thanks to Zoë Turner. | ||
- Added a new ONS Mortality data set, and vignette showing its construction, | ||
thanks to Zoë Turner. | ||
- Resaved .Rdata files as rda, using "gzip" compression. | ||
- Other minor documentation tweaks. | ||
|
||
|
||
# NHSRdatasets 0.1.2 | ||
|
||
- Added a new NHS Accident and Emergency (A&E) dataset with vignette, thanks to Tom Jemmett. | ||
- Added a new NHS Accident and Emergency (A&E) dataset with vignette, thanks to | ||
Tom Jemmett. | ||
- Typos resolved and cleaned some files. | ||
- Added pkgdown site. | ||
|
||
|
||
# NHSRdatasets 0.1.1 | ||
|
||
- This is the first release of this collaborative package for NHS and healthcare analysts to learn or teach R. | ||
- This is the first release of this collaborative package for NHS and healthcare | ||
analysts to learn or teach R. | ||
It will evolve over time as new contributions are released. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
#' \item{frailty_index}{An initial index assessment to say if the patient is frail or not. This is needed for alignment of service provision.} | ||
#' } | ||
#' | ||
#' @source Synthetically generated by Gary Hutson \email{[email protected]}, Mar-2021. | ||
#' @source Synthetically generated by Gary Hutson, Mar-2021. | ||
#' | ||
#' @usage data(stranded_data) | ||
#' | ||
|
@@ -29,6 +29,6 @@ | |
#' library(dplyr) | ||
#' data("stranded_data") | ||
#' stranded_data %>% | ||
#' glimpse() | ||
#' glimpse() | ||
#' | ||
"stranded_data" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ | |
#' \item{died}{Indicator to monitor patient death} | ||
#' } | ||
#' | ||
#' @source Generated by Dr. Muhammed Faisal and created by Gary Hutson \email{[email protected]}, Mar-2021 | ||
#' @source Generated by Dr. Muhammed Faisal and created by Gary Hutson, Mar-2021 | ||
#' | ||
#' @usage data(synthetic_news_data) | ||
#' | ||
|
@@ -32,5 +32,5 @@ | |
#' library(dplyr) | ||
#' data("synthetic_news_data") | ||
#' synthetic_news_data %>% | ||
#' glimpse() | ||
#' glimpse() | ||
"synthetic_news_data" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.