This repository contains the Delphi RAT-SCAN (Rapid Assessment Tool for Signal Correlation and iNformation), a set of parameterizable notebooks for analyzing and tracking epidemiological indicators in the Delphi data pipeline.
indicator_analysis/indicator_evaluation.qmd. A notebook that performs candidate-only exploratory data analysis (EDA) to understand signal characteristics, coverage, missingness, and versioning/revision behavior.indicator_analysis/indicator_correlation.qmd. A notebook that evaluates a candidate indicator against a guiding indicator (presumed ground truth) to assess its nowcasting/forecasting value via EDA overlays and correlation/lag analyses.revision_analysis/revision_analysis.qmd. A notebook that tracks versioned time series revisions to determine how long, on average, a series continues to receive revisions after its first publication.
The notebooks act as parameterized templates. To generate local examples and publish them as a website to GitHub Pages, the repository relies on Quarto's publishing mechanism and a pre-render hook.
Some relevant files are:
_quarto.yml. Contains the rules for the website structure, navigation menu, and specifies the pre-render script.scripts/pre_render.R. Automatically executes the.qmdnotebooks with pre-defined parameters to generate static HTML examples before the website is built.index.qmd. The main page of the website. It is used to make the rendered html files visible in the website.
To add a new analysis example to the website:
- Add a new block of code in
scripts/pre_render.Rthat callsquarto::quarto_render()with your desiredexecute_params. - To make the rendered html visible on the website, update
_quarto.ymland/orindex.qmdto include a link to your newly generated HTML file. - Preview or Publish:
- To view the changes locally, run:
quarto preview
- To publish the updated examples directly to the
gh-pagesbranch, run:quarto publish gh-pages
- To view the changes locally, run: