A demo of the situation report
- A fully automated situational report.
- It does not require manually editing of any text, figures, statistics, or plots since everything gets rendered via code.
- Fully reproducible and can be scaled easily
- Each COE site can contribute plots, figures, and statistics from their own datasources using their own software
Using Quarto + Github Actions helps to:
-
Avoid manual editing of the plots
- plots are rendered using code
- automate rendering when new data is loaded
- no copying and pasting of new plots
-
Avoid manual editing of text
- inline code can make calculations and render text in the document
- no need to manually update whenever there's new data
- example:
code chunk to get a calculated value:
```{r} proportion_value = paste0(value," %") ```
text that uses the value (and updates with new data)
"our power caluculations are `{r} proportion_value` "
where
{r} proportion_valuewill show as 50% when rendered -
Reproducibility
- Source code is all available and linked to the documentation
- Users can see how we did our calculations
- Connects to Zotero and other citation software
-
Private data
- raw data is kept private
- each COE group can contribute code and push to github, triggered a re-render of their plots/calculations only
- may be good to use public data sources for fully reproducible reports
-
Scalability
- Can make parameterized reports
- minimal effort to make similar reports for other diseases, using this as a template
- filter data based on disease type for each report
- no manual effort
-
Multiple formats
- outputs to whichever formats you want (html, pdf, word, etc)
- can customize outputs (pdf using Typst, Latex or other software)
- docs folder has all the documentations
index.qmdis where all the text and code is brought together_quarto.ymlis where all the formats are made (html, pdf, word)- each COE site can contribute code in the notebooks folder