Skip to content

Commit 43d075c

Browse files
committed
docs(readme): improve readme (#30)
1 parent ddd846d commit 43d075c

File tree

1 file changed

+32
-16
lines changed

1 file changed

+32
-16
lines changed

README.md

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@
1111

1212
</div>
1313

14+
<br>
15+
16+
This repository is an example accompanying the [**DES RAP Book**](https://github.com/pythonhealthdatascience/des_rap_book) — an open educational resource on reproducible discrete-event simulation (DES) in Python and R. The book demonstrates best practices for building, validating, and sharing DES models within a reproducible analytical pipeline (RAP). The `pydesrap_stroke` model illustrates how these principles can be applied to a real-world healthcare capacity planning problem.
17+
18+
<br>
19+
20+
## Repository overview
21+
1422
This repository provides a reproducible analytical pipeline (RAP) that implements a real-life stroke service capacity planning model in python. It serves as a practical example, fully reproducible and aligned with RAP principles, based on the following study:
1523

1624
> Monks T, Worthington D, Allen M, Pitt M, Stein K, James MA. A modelling tool for capacity planning in acute and community stroke services. BMC Health Serv Res. 2016 Sep 29;16(1):530. doi: [10.1186/s12913-016-1789-4](https://doi.org/10.1186/s12913-016-1789-4). PMID: 27688152; PMCID: PMC5043535.
@@ -21,7 +29,9 @@ Model diagram:
2129

2230
<br>
2331

24-
## Installation
32+
## Usage and reproduction instructions
33+
34+
<details><summary><b>Installation</b></summary>
2535

2636
Clone the repository locally:
2737

@@ -39,9 +49,11 @@ conda activate
3949

4050
There is also a `requirements.txt` file which can be used to set up the environment with `virtualenv`, but this won't fetch a specific version of Python - so please note the version listed in `environment.yaml`.
4151

52+
</details>
53+
4254
<br>
4355

44-
## How to run
56+
<details><summary><b>How to run</b></summary>
4557

4658
The simulation code is provided as a **package** within `simulation/`. There are notebooks executing the model and analysing the results in `notebooks/`.
4759

@@ -68,7 +80,11 @@ runner = Runner(param=param)
6880
rep_results = runner.run_reps()
6981
```
7082

71-
### Generating the results from the article
83+
</details>
84+
85+
<br>
86+
87+
<details><summary><b>Generating the results from the article</b></summary>
7288

7389
The original study used Simul8. Each of the outputs from that article have been replicated in this repository using Python:
7490

@@ -103,23 +119,23 @@ From this repository:
103119

104120
![](outputs/figure3_asu.png)
105121

122+
</details>
123+
106124
<br>
107125

108-
## Run time and machine specification
126+
<details><summary><b>Run time and machine specification</b></summary>
109127

110128
The run time for this analysis (`notebooks/analysis.ipynb`) is 10 seconds. This was on an Intel Core i7-12700H, 32GB RAM, Ubuntu 24.04.1.
111129

112130
The other notebooks generate results for tests and illustrate other functionality (e.g. importing parameters from csv, running with logs), and these just take a second or two.
113131

114-
<br>
115-
116-
## Community
117-
118-
Curious about contributing? Check out the [contributing guidelines](CONTRIBUTING.md) to learn how you can help.
132+
</details>
119133

120134
<br>
121135

122-
## Citation
136+
## Project details and credits
137+
138+
### How to cite the repository
123139

124140
For this applied example, please cite either:
125141

@@ -129,7 +145,7 @@ For this applied example, please cite either:
129145
130146
A `CITATION.cff` file is also provided.
131147

132-
**Contributors:**
148+
### Contributors
133149

134150
**Amy Heather** - developed the repository.
135151

@@ -141,14 +157,14 @@ A `CITATION.cff` file is also provided.
141157
* [![ORCID](https://img.shields.io/badge/ORCID-0000--0003--2631--4481-A6CE39?style=for-the-badge&logo=orcid&logoColor=white)](https://orcid.org/0000-0003-2631-4481)
142158
* [![GitHub](https://img.shields.io/badge/GitHub-TomMonks-181717?style=for-the-badge&logo=github&logoColor=white)](https://github.com/TomMonks)
143159

144-
<br>
145-
146-
## Licence
160+
### Licence
147161

148162
MIT Licence. See `LICENSE` for details.
149163

150-
<br>
164+
### Community
165+
166+
Curious about contributing? Check out the [contributing guidelines](CONTRIBUTING.md) to learn how you can help.
151167

152-
## Funding
168+
### Funding
153169

154170
This project was developed as part of the project STARS: Sharing Tools and Artefacts for Reproducible Simulations. It is supported by the Medical Research Council [grant number [MR/Z503915/1](https://gtr.ukri.org/projects?ref=MR%2FZ503915%2F1)].

0 commit comments

Comments
 (0)