RMS Titanic Sinking Exercise: Shiny Web Application Pitch Presentation

author: Areddyus font-family: ‘Helvetica’ date: Aug 8 th 2017 14:54:01 2016 autosize: true transition: concave

RMS Titanic Sinking: Pitch Presentation Content

alt text Image source: https://kaggle2.blob.core.windows.net/competitions/kaggle/3136/logos/front_page.png

  1. Purpose and Information
  2. Embedded R Code
  3. Instructions for Reproducing Locally

  4. Purpose and Information

    This Shiny application is my submission for the assignment of the course “Developing Data Products”, part of the Data Science Specialization offered by the Johns Hopkins University on Coursera. It is an interactive web based application, frameworked in R, for fetching information on the sex, age, and passenger class of the survivors of the RMS Titanic which sunk on April 15, 1912.

The dataset, found on Kaggle.com, https://www.kaggle.com/c/titanic/data, contains 891 records with several identification characteristic variables, and it is popular for many enthusiastic neophytes in machine learning.

2. Embedded R Code

library(ggplot2) was used for the plotting. Here is the code for a static view of the default plot that is rendered on the web app:

library(ggplot2)
trainData <- read.csv("train.csv")
g <- ggplot(trainData, aes(Age, Pclass))
g + geom_point(aes(color=Sex)) + facet_grid(Survived ~.)
plot of chunk unnamed-chunk-1

plot of chunk unnamed-chunk-1

3. Instructions for Reproducing Locally

For reproducing this project locally on your computer, you would need to follow these steps:

  1. Install the necessary packages to run RStudio’s Shiny server locally, as instructed here: http://shiny.rstudio.com/articles/shinyapps.html

  2. Run the following command in RStudio:

runGitHub(“MyShinyApp”, “Teuton2015”)