and Shiny applications for real-world surveillance
October 18, 2026
Surveillance and monitoring applications begin with sensitive, messy and changing data.
Note
The challenge is to design the whole data product, not just the interface.
A dashboard is the final layer of a data system, not the system itself.
{targets} orchestrates a reproducible sequence:
ingest → validate → standardise → classify → summarise → export
The pipeline owns sensitive data, spatial transformations and business rules.
{golem} structures the Shiny product around app-ready objects.
{qs2} · {data.table} · {mapgl} · {echarts4r}
The application owns interaction, presentation and exploration.
Less transformation during a user session.
Lightweight serialised objects and one geometry.
No raw coordinates or project identifiers in deployment data.
1. Add rule
A new fungicide resistance threshold is defined upstream.
2. Re-run pipeline
Classification and summaries are regenerated.
3. Open application
The result appears through the existing data model.
No app-code change
No new map filter or user control was required.
Extensibility is demonstrated when a new scientific rule changes data, not interface plumbing.
{targets} for dependency-aware pipelines{golem} for a structured Shiny application{data.table} for fast joins{qs2} for compact, fast-loading objects{mapgl} and {echarts4r} for responsive explorationmake for automating the pipeline and building and testing the R app and Docker containerThe aim is not maximum flexibility. It is controlled, testable flexibility.
Careful pipeline design can make Shiny applications
faster · smaller · safer · easier to extend
Centre for Crop and Disease Management, Curtin University
Statistics · epidemiology · geospatial analysis · open-source R software