Developing Data Products

Case Study - Code Blue Analysis

M Fawcett
Student of Coursera Data Science Specialization, 2016

Purpose

The final module in the Coursera Data Science Specialization covers the topic of developing "data products".

Data products are applications, software, presentations, etc., based on data, that facilitate our understanding of data (Brian Caffo).

The course introduced an extensive list of development tools that can be used to create data products with almost any desired look and feel. The list included Shiny, Slidify, RPresenter, GoogleVis, Open CPU, RCharts, Manipulate, Morris Chart, XCharts and Plotly.

All of the tools have R, the statistical programming language, in their underpinnings.

This presentation demonstrates the use of Shiny and Slidify and how they can help us understand code blue occurances at a hospital.

What is Code Blue?

Code Blue is a term used in most hospitals to refer to an emergency situation in which a patient is in cardiopulmonary arrest (patient has stopped breathing and heart has stopped beating), requiring a team of providers, sometimes called a 'code team', to rush to the specific location and begin immediate resuscitative efforts.

Several years of (simulated) data involving code blue occurances was gathered and prepared as an R data set. The data set was then used to develop an interactive Shiny application to understand the distribution of code blue occurrances by day of week.

About the Code Blue Shiny App

"Shiny" is a development tool that allows construction of sophisticated interactive web pages using R. No knowledge of HTML, CSS or Javascript is necessary, although Shiny apps can be customized using those languages if desired. For more information about Shiny visit http://shiny.rstudio.com

Going to the following Web page will display my Shiny application: https://myshinyacct.shinyapps.io/CodeBlue/

When it opens you will find on the left side two user input controls: a drop down list and a slider. On the right there is a bar plot that displays the number of code blue occurances by day of week for the period of time that the user selected.

The drop down list lets you select week, quarter or year. Selecting "week" will display the number of code blues by day of week for one week. "Quarter"" will display the number by day of week for an entire quarter. "Year" will display the number per day of week for an entire year.

Drag the slider to pick a particular week, quarter or year to display. Click the "play" button under the slider to cause it to slide by itself from left to right with an update happening every two seconds.

Conclusion

"Slidify" is a development tool for creating attractive, interactive slide presentations and posting them to the internet. This series of slides was prepared using Slidify. An example of interactivity using Slidify is the "quiz" feature. All of the tools discussed here are free open source tools. For more information about Slidify go to http://slidify.org

Survey

What is your rating for this presentation?

  1. Great!
  2. Awesome
  3. Spectacular
  4. Incredible

Starts with "A"

Gratuitous yet awesome demonstration of interactivity with Slidify