How the-strategy-unit/tpma-explorer works
TPMA Explorer is a Shiny app for exploring hospital activity that may be mitigated. The documented workflow is to launch the app, fetch versioned parquet inputs from Azure, and explore them through interactive views. The tree identifies selection, visualization, table, and strategy-text modules; the README describes these as Shiny modules and names the main data and output layers. No source excerpts were provided, so internal call ownership and links among individual views are not verified; those relationships are omitted.
Main entry points: run_app.R App launcher · app_ui.R App interface · utils_data.R Data preparation
Components 20
App runtime
- App launcher
R/run_app.R - App interface
R/app_ui.R - App server
R/app_server.R
Data inputs
- Data preparation
R/utils_data.R - Azure parquet inputs
- Reference lookups
inst/app/reference
User selections
- Geography selection
R/mod_select_geography.R - Provider selection
R/mod_select_provider.R - Strategy selection
R/mod_select_strategy.R
Exploration views
- Activity overview
R/mod_overview.R - Age-sex pyramid
R/mod_plot_age_sex_pyramid.R - NEE view
R/mod_plot_nee.R - Rates view
R/mod_plot_rates.R - Rates box plot
R/mod_plot_rates_box.R - Rates funnel
R/mod_plot_rates_funnel.R - Rates trend
R/mod_plot_rates_trend.R - Diagnosis table
R/mod_table_diagnoses.R - Procedure table
R/mod_table_procedures.R - Strategy descriptions
R/mod_show_strategy_text.R
Other components
- App user
Connections 3
- App user → App interface: uses
README.md - App launcher → Azure parquet inputs: downloads inputs
README.md - Azure parquet inputs → Data preparation: provides parquet
README.md