Skip to content

pythonhealthdatascience/des_rap_book

Repository files navigation

DES RAP Book: Reproducible Discrete-Event Simulation in Python and R

Python R 4.4.1 Code licence Text licence ORCID


Step-by-step guide for building simulation models as part of a reproducible analytical pipeline (RAP). Check it out at: https://pythonhealthdatascience.github.io/des_rap_book/.


View locally

This website is created using Quarto and hosted on GitHub pages. You can view the site locally. With quarto installed, you will need to:

1. Build the python environment

conda env create --file environment.yaml
conda activate des-rap-book

2. Build the R environment

renv::init()
renv::restore()

3. Create the book.

quarto render

Citation

To cite this work, see the CITATION.cff file in this repository or use the "Cite this repository" button on GitHub.


Linting

To lint active Python and R code:

bash lint.sh

Note: inactive code (i.e. code that does not get run when building the book) will not be linted - though the R linter will enforce a terminal newline at the end of each .qmd file.


Funding

This project is supported by the Medical Research Council [grant number MR/Z503915/1].

About

Step-by-step guide for building Python and R simulation models as part of a reproducible analytical pipeline (RAP).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published