Researchers at the University of Oxford are entitled to publish interactive visualisations built using R and Shiny to the institutional shinyapps.io subscription which is maintained by the Interactive Data Network (IDN).
In addition to hosting visualisations using Shiny, the IDN provides specialist support and advice for researchers in the design, development and publishing of visualisations. Please visit our website at idn.it.ox.ac.uk or contact us at researchsupport@it.ox.ac.uk
Researchers may publish Shiny apps to the IDN provided they meet these criteria:
Here are two common use cases for researchers to create Shiny apps for the IDN:
The IDN has chosen Shiny as our primary tool for creating interactive visualisations of research datasets because they should remain functional for a long time. This does not mean that a Shiny app hosted by the IDN will be available forever, but it does mean that if an R user downloaded your deposited code the Shiny app will function locally with minimum fuss.
Once an app has been published to the IDN a 3 year count down begins. After 2.5 years we will begin to contact the named academic for the app to ensure that it is behaving as expected, provided the academic remains at Oxford we will happily receive an update for the app and restart the 3 year count down. If the author does not respond to our attempts to contact them after 3 years we will begin checking the app ourselves every 2 months to ensure it appears to display correctly. When the app no longer behaves as it should, the IDN will modify the app to display a static image1 and links to the data and code DOIs relevant for the app. Researchers may also contact us at any point during the lifetime of an app to request an update be made. Note that if this update requires dev effort from the IDN we will need to recharge for this work.
1 We kindly request that your Shiny apps make use of the navbarPage template as it makes it significantly easier to convert the interactive components of your app into static images and retain the overall structure of your app. It is also highly recommended that you include your preferred static images within your Shiny app in a static-replacement-images
folder.
IDN Super Users are researchers at Oxford who have experience in using and developing Shiny apps and have volunteered some of their time to support others in the use of interactive visualisations to to generate impact and engagement with your research. These folks also have the ability to publish Shiny apps to the IDN on your behalf.
The IDN currently maintains a professional tier subscription to <shinyapps.io> to which Shiny apps are published. Published apps have URLS of the form livedataoxford.shinyapps.io/unique_key
for historical purposes, and can easily be embedded using iframes, for example:
<iframe src="livedataoxford.shinyapps.io/unique_key" width="100%" height="700px"></iframe>
All apps are deployed with default settings unless explicitly requested by researchers, the default settings are:
Our subscription entitles us to a total of 10,000 interactive hours per month across all Shiny apps. Apps that consume more than 5% of this time for two consecutive charging periods (months) will be asked to consider moving their apps if there is less than a 10% buffer of time remaining. The IDN believes these limits are extremely unlikely to be hit in practice, and will actively monitor app usage and plan accordingly. Please note that the IDN is actively investigating additional funding to allow virtualised hosting of a Shiny server that will eventually support SSO access.