Skip to content

Commit 94c79f1

Browse files
committed
refactor(all): replace rap_template_r_des with rdesrap_mms, and rap_template_python_des with pydesrap_mms
1 parent b07ee57 commit 94c79f1

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ authors:
1515
affiliation: University of Exeter
1616
orcid: 'https://orcid.org/0000-0002-6596-3479'
1717
repository-code: >-
18-
https://github.com/pythonhealthdatascience/rap_template_r_des
18+
https://github.com/pythonhealthdatascience/rdesrap_mms
1919
abstract: >-
2020
A template for creating discrete-event simulation (DES) models in R
2121
within a reproducible analytical pipeline (RAP).

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Authors@R: c(
99
role = c("aut", "cre")
1010
)
1111
)
12-
URL: https://github.com/pythonhealthdatascience/rap_template_r_des
12+
URL: https://github.com/pythonhealthdatascience/rdesrap_mms
1313
Description: Template reproducible analytical pipeline (RAP) for simple R
1414
discrete-event simulation (DES) model.
1515
License: MIT + file LICENSE

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
![R 4.4.1](https://img.shields.io/badge/-R_4.4.1-276DC2?&logo=r&logoColor=white)
77
![MIT Licence](https://img.shields.io/badge/Licence-MIT-green.svg?&labelColor=gray)
88
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14980863.svg)](https://doi.org/10.5281/zenodo.14980863)
9-
[![R-CMD-check](https://github.com/pythonhealthdatascience/rap_template_r_des/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/pythonhealthdatascience/rap_template_r_des/actions/workflows/R-CMD-check.yaml)
10-
[![Lint](https://github.com/pythonhealthdatascience/rap_template_r_des/actions/workflows/lint.yaml/badge.svg)](https://github.com/pythonhealthdatascience/rap_template_r_des/actions/workflows/lint.yaml)
9+
[![R-CMD-check](https://github.com/pythonhealthdatascience/rdesrap_mms/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/pythonhealthdatascience/rdesrap_mms/actions/workflows/R-CMD-check.yaml)
10+
[![Lint](https://github.com/pythonhealthdatascience/rdesrap_mms/actions/workflows/lint.yaml/badge.svg)](https://github.com/pythonhealthdatascience/rdesrap_mms/actions/workflows/lint.yaml)
1111
[![ORCID](https://img.shields.io/badge/ORCID_Amy_Heather-0000--0002--6596--3479-A6CE39?&logo=orcid&logoColor=white)](https://orcid.org/0000-0002-6596-3479)
1212
<!-- badges: end -->
1313
</div>
@@ -33,8 +33,8 @@ This type of model is widely used for studying waiting lines in healthcare, call
3333
Clone the repository:
3434

3535
```{.r}
36-
git clone https://github.com/pythonhealthdatascience/rap_template_r_des.git
37-
cd rap_template_r_des
36+
git clone https://github.com/pythonhealthdatascience/rdesrap_mms.git
37+
cd rdesrap_mms
3838
```
3939

4040
Set up the R environment using `renv` (recommended):
@@ -162,14 +162,14 @@ To generate the figures and tables from the paper (`mock_paper.md`), execute:
162162

163163
**Data dictionary** (explaining each field) is available in: `inputs/NHS_synthetic_dictionary.csv`.
164164

165-
This dataset is **synthetic** and was generated in the [rap_template_python_des](https://github.com/pythonhealthdatascience/rap_template_python_des) repository based on the the structure of some fields from the [Emergency Care Data Set (ECDS)](https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/emergency-care-data-set-ecds). The data generation process involved:
165+
This dataset is **synthetic** and was generated in the [pydesrap_mms](https://github.com/pythonhealthdatascience/pydesrap_mms) repository based on the the structure of some fields from the [Emergency Care Data Set (ECDS)](https://digital.nhs.uk/data-and-information/data-collections-and-data-sets/data-sets/emergency-care-data-set-ecds). The data generation process involved:
166166

167167
* **Arrivals:** Sampled from a Poisson distribution (average 15 patients per hour).
168168
* **Wait times:** Sampled from an exponential distribution (average wait time: 5 minutes).
169169
* **Service times:** Sampled from an exponential distribution (average service time: 10 minutes).
170170
* **Time period:** Data covers one full year (1st January - 31st December 2025).
171171

172-
This dataset is released under the MIT licence. If you use this data, please cite the original repository: [rap_template_python_des](https://github.com/pythonhealthdatascience/rap_template_python_des).
172+
This dataset is released under the MIT licence. If you use this data, please cite the original repository: [pydesrap_mms](https://github.com/pythonhealthdatascience/pydesrap_mms).
173173

174174
The code for input modelling is in: `rmarkdown/input_modelling.Rmd`. Model parameters are determined in this file and then stored in: `R/parameters.R`. Description for each parameter can be found in the class docstring within this file.
175175

@@ -211,7 +211,7 @@ repo/
211211
├── mock_paper.md # Mock paper using some of the figures
212212
├── NAMESPACE # Defines the exported functions and objects for the R package
213213
├── NEWS.md # Describes changes between releases (equivalent to a changelog for R packages)
214-
├── rap_template_r_des.Rproject # Project settings
214+
├── rdesrap_mms.Rproject # Project settings
215215
├── README.md # This file! Describes the repository
216216
├── renv.lock # Lists R version and all packages in the R environment
217217
└── run_rmarkdown.sh # Bash script to run knit all .Rmd from the command line
@@ -238,7 +238,7 @@ There are also two notebooks illustrating logging functionality (`logs.Rmd`) and
238238

239239
If you use this repository, please cite either the GitHub repository or Zenodo:
240240

241-
> Heather, A. (2025). R DES Rap Template. GitHub. https://github.com/pythonhealthdatascience/rap_template_r_des.
241+
> Heather, A. (2025). R DES Rap Template. GitHub. https://github.com/pythonhealthdatascience/rdesrap_mms.
242242
>
243243
> Heather, A. (2025). R DES Rap Template. Zenodo. https://doi.org/10.5281/zenodo.14980863.
244244

inst/CITATION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ bibentry(
55
organization = "University of Exeter",
66
year = 2025,
77
note = "Version 0.4.0. A template for creating discrete-event simulation (DES) models in R within a reproducible analytical pipeline (RAP).",
8-
url = "https://github.com/pythonhealthdatascience/rap_template_r_des"
8+
url = "https://github.com/pythonhealthdatascience/rdesrap_mms"
99
)

rmarkdown/choosing_cores.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ devtools::install(upgrade = "never")
3232
```
3333

3434
## ── R CMD build ──────────────────────────────────────────────────────────
35-
## checking for file ‘/home/amy/Documents/stars/rap_template_r_des/DESCRIPTION’ ... ✔ checking for file ‘/home/amy/Documents/stars/rap_template_r_des/DESCRIPTION’
35+
## checking for file ‘/home/amy/Documents/stars/rdesrap_mms/DESCRIPTION’ ... ✔ checking for file ‘/home/amy/Documents/stars/rdesrap_mms/DESCRIPTION’
3636
## ─ preparing ‘simulation’:
3737
## checking DESCRIPTION meta-information ... ✔ checking DESCRIPTION meta-information
3838
## ─ checking for LF line-endings in source and make files and shell scripts
@@ -42,7 +42,7 @@ devtools::install(upgrade = "never")
4242
##
4343
## Running /opt/R/4.4.1/lib/R/bin/R CMD INSTALL \
4444
## /tmp/RtmphBXRjL/simulation_0.1.0.tar.gz --install-tests
45-
## * installing to library ‘/home/amy/.cache/R/renv/library/rap_template_r_des-cd7d6844/linux-ubuntu-noble/R-4.4/x86_64-pc-linux-gnu’
45+
## * installing to library ‘/home/amy/.cache/R/renv/library/rdesrap_mms-cd7d6844/linux-ubuntu-noble/R-4.4/x86_64-pc-linux-gnu’
4646
## * installing *source* package ‘simulation’ ...
4747
## ** using staged installation
4848
## ** R

0 commit comments

Comments
 (0)