Published: September 2024

Last updated: September 2024

Sharing Results Using Shiny Dashboards: An Introduction

Statistical analyses are common practice in the modern world. While statistics is a discipline in its own right, statistical methods are employed across a vast and growing range of fields. It is, therefore, essential that the sharing of statistical information can be adapted to meet the needs of a range of audiences.

A web application (app) is an app that is accessed using a web browser. An advantage of web apps is their accessibility, allowing multiple users to access the same app from different locations, devices and software platforms. Shiny is a free, open-source R package for developing web apps. Shiny provides an excellent opportunity to share results from analyses with others in an interactive, easy-to-build web app.

A Shiny app contains a user interface (ui) and a server function. These two objects interact with each other to create an interactive Shiny app. The ui element controls the layout and appearance of your app whereas the server object performs the necessary computations. While Shiny dashboards can be built using the Shiny package alone, the Shinydashboard package can be used to make it much easier to create a more visually appealing dashboard. This package enables the use of complex dashboards with a variety of complex layouts.

While producing a web app in Shiny requires good knowledge of the R programming language, for those already conducting their analyses in R, Shiny offers the opportunity to create a bespoke, high-quality dashboard that is accessible to the end user.

You may also be interested in

Peer-reviewed publication

Clinical Burden and Healthcare Resource Use of Congenital Thrombotic Thrombocytopenic Purpura in England: A Linked Primary and Secondary Care Data Analysis

YHEC authors: Erin Barker, Heather Riley, Monica Garrett
Publication date: May 2026
Journal: British Journal of Haematology

Abstract

Congenital thrombotic thrombocytopenic purpura (cTTP) is an ultra rarehaematological disorder. This study aimed to estimate the clinical burden, healthcareresource use (HCRU) and associated costs of cTTP in England using primary...

Peer-reviewed publication

Effects and Costs of a Group-Based Educational Intervention to Reduce Opioid Use in People with Chronic Pain: I-WOTCH RCT

YHEC authors: Joe Moss
Publication date: May 2026
Publishers: NIHR
Journal: HTA

Abstract

BACKGROUND: The long-term use of strong opioids for chronic non-cancer pain puts people at risk of serious harm. OBJECTIVES: To test the effectiveness and cost-effectiveness of a multicomponent intervention targeting...

Peer-reviewed publication

Quantifying the Case for Prevention: Disease Burden and Cost-Effective Interventions in UK

YHEC authors: Matthew Taylor
Publication date: May 2026
Publishers: Oxford Academic
Journal: Journal of Public Health

Abstract

BACKGROUND: Modifiable risks—tobacco use, poor diet, alcohol consumption, physical inactivity and mental ill-health—drive substantial disease in UK. NICE evidence on preventive interventions targeting these risks and estimates of eligible populations...