Package: epiviz 0.1.2

Harshana Liyanage

epiviz: Data Visualisation Functions for Epidemiological Data Science Products

Tools for making epidemiological reporting easier with consistent static and dynamic charts and maps. Builds on 'ggplot2' for static visualizations as described in Wickham (2016) <doi:10.1007/978-3-319-24277-4> and 'plotly' for interactive visualizations as described in Sievert (2020) <doi:10.1201/9780429447273>.

Authors:Harshana Liyanage [aut, cre], James Duke [aut], Alex Bhattacharya [aut], Liam Fitzpatrick [aut], James Leatherland [aut], Jordan Worth [aut], Emma Parker [aut], Jade Talbot [ctb], Karen Crawford [ctb], Frederick Sloots [ctb], Charlie Turner [ctb]

epiviz_0.1.2.tar.gz
epiviz_0.1.2.zip(r-4.7)epiviz_0.1.2.zip(r-4.6)epiviz_0.1.2.zip(r-4.5)
epiviz_0.1.2.tgz(r-4.6-any)epiviz_0.1.2.tgz(r-4.5-any)
epiviz_0.1.2.tar.gz(r-4.7-any)epiviz_0.1.2.tar.gz(r-4.6-any)
epiviz_0.1.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
epiviz/json (API)

# Install 'epiviz' in R:
install.packages('epiviz', repos = c('https://ukhsa-collaboration.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ukhsa-collaboration/epiviz/issues

Datasets:
  • lab_data - Synthetic Lab Data for EpiViz functions

On CRAN:

Conda:

6.99 score 4 stars 44 scripts 558 downloads 7 exports 92 dependencies

Last updated from:2f820bb931. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK225
source / vignettesOK252
linux-release-x86_64OK267
macos-release-arm64OK200
macos-oldrel-arm64OK158
windows-develOK177
windows-releaseOK188
windows-oldrelOK198
wasm-releaseOK165

Exports:age_sex_pyramidcol_chartepi_curveepi_mapline_chartllm_interpretpoint_chart

Dependencies:askpassassertthatbase64encbslibcachemclassclassIntclicorocpp11crosstalkcurldata.tableDBIdigestdplyre1071ellmerevaluatefarverfastmapfontawesomeforcatsfsgenericsggplot2gluegtablehighrhtmltoolshtmlwidgetshttrhttr2isobandISOweekjquerylibjsonliteKernSmoothknitrlabelinglaterlatticelazyevalleafletleaflet.providerslifecyclelubridatemagrittrMASSmemoisemimeopensslotelpillarpkgconfigplotlypngpromisesproxypurrrR6rappdirsrasterRColorBrewerRcpprlangrmarkdowns2S7sassscalessfsliderspstringistringrsysterratibbletidyrtidyselecttimechangetinytexunitsutf8vctrsviridisLitewarpwithrwkxfunyaml

Epi curves
Introduction | Prerequisites | Example 1: Basic epi curve with rolling average | Create the basic epi curve | Example 2: Grouped epi curve with stacked bars | Create the grouped epi curve | Example 3: Daily epi curve with case boxes and cumulative line | Create the detailed daily epi curve | Example 4: Pre-aggregated data with rolling and cumulative lines | Prepare pre-aggregated data | Create the pre-aggregated epi curve | Example 5: Interactive grouped epi curve | Create the interactive grouped epi curve | Tips for epi curves

Last update: 2025-10-30
Started: 2025-10-16

Line charts
Introduction | Prerequisites | Example 1: Single time series without grouping | Prepare the data | Create the single time series line chart | Example 2: Multiple time series with grouping | Prepare the grouped data | Create the multiple time series line chart | Example 3: Interactive multiple time series | Create the interactive line chart | Example 4: Custom styled line chart with enhanced formatting | Prepare data for enhanced styling | Create the enhanced line chart | Tips for line charts

Last update: 2025-10-30
Started: 2025-10-16

LLM-assisted epidemiological narrative
Introduction | Prerequisites | Environment Setup | Required Environment Variables | Verify Setup | Example 1: Interpreting an epidemic curve | Prepare the data and create a visualization | Interpret the visualisation | Example 2: Custom interpretation with specific focus | Interpret with custom epidemiological focus | Tips for LLM interpretation | Troubleshooting | Common Issues

Last update: 2025-10-30
Started: 2025-10-16

Point charts
Introduction | Prerequisites | Example 1: Basic point chart | Prepare the data | Create the basic point chart | Example 2: Interactive point chart | Create the interactive point chart | Example 3: Grouped point chart with confidence ribbons | Prepare grouped data with confidence intervals | Create the grouped point chart with confidence ribbons | Example 4: Point chart with threshold lines | Create the point chart with threshold lines | Example 5: Interactive grouped point chart with all features | Create the comprehensive interactive point chart | Tips for point charts

Last update: 2025-10-30
Started: 2025-10-16

Epidemiological maps
Introduction | Prerequisites | Example 1: Static map with un-merged shapefile | Prepare the data | Create the static map with un-merged shapefile | Example 2: Static map with pre-merged shapefile | Prepare the pre-merged data | Create the static map with pre-merged data | Example 3: Static map with border shapefile | Create the map with border shapefile | Example 4: Interactive map with un-merged shapefile | Create the interactive map | Example 5: Interactive map with border shapefile and area labels | Create the interactive map with borders and labels | Tips for epidemiological maps

Last update: 2025-10-16
Started: 2025-10-16

Age-sex pyramids
Introduction | Prerequisites | Example 1: Static pyramid from line-list data | Prepare the line-list data | Plot the static pyramid | Example 2: Interactive grouped pyramid with confidence intervals | Aggregate counts and calculate confidence intervals | Plot the interactive grouped pyramid | Tips for age-sex pyramids

Last update: 2025-10-16
Started: 2025-10-16

Column charts
Introduction | Prerequisites | Example 1: Basic single-series column chart | Prepare the data | Create the basic column chart | Example 2: Grouped stacked column chart | Create the grouped stacked chart | Example 3: Column chart with bar labels | Create the chart with bar labels | Example 4: Interactive column chart with case boxes | Prepare data for case boxes | Create the interactive chart with case boxes | Example 5: Column chart with threshold lines | Create the chart with threshold lines | Example 6: Time-series column chart | Prepare the time-series data | Create the time-series column chart | Tips for column charts

Last update: 2025-10-16
Started: 2025-10-16

Getting started with epiviz
Introduction | Prerequisites | The lab_data dataset | Example 1: Regional distribution of detections | Prepare the data | Create the visualization | Example 2: Temporal trends in detections | Tips for getting started | Next steps

Last update: 2025-10-16
Started: 2025-10-16