Developing Data Products - Course Project

Anita Hassan
28 January 2016

Dengue Cases in Malaysia, year between 2012 and 2015

Introduction

For more details on authoring R presentations click the Help button on the toolbar.

  • This presentation is part of the Course Project for the Coursera Developing Data Products class. The peer assessed assignment has two parts. First, we need to create a Shiny application and deploy it on Rstudio's servers. Second, we should use Slidify or Rstudio Presenter to prepare a reproducible pitch presentation about the application. This presentation adresses the second part of the course project.

  • The app developed for the first part of the assignment is avalilable at:

https://equinenas.shinyapps.io/DevDataProd/

  • Source code for ui.R and server.R files are available on the GitHub:

https://github.com/equinenas/DevDataProd

Dengue Cases in Malaysia, year between 2012 and 2015

  • This application will assist us to get information about Malaysia's dengue cases from the year 2012 to 2015.

  • Select the year from the year dropdownlist and then the dengue table will be displayed and filter the result based on the selection made.

  • In addition, choose the plot type from the plot dropdownlist. In another tab, the plot of dengue cases will be potrayed based on the selection.

Dengue Dataset in Malaysia

The data consists of 8 variables; Year, Week, State, District, Location, Total Cases, Outbreak and Duration. We can look to some criteria of the data:

dt <- read.csv("Denggi.csv")
head(dt)
  Year Week    State         District                             Location
1 2012    2 Selangor      Hulu Langat           Apartment Taman Sri Kenari
2 2012    2     WPKL       Klang Lama    Taman Gembira D (Jalan Riang 1-8)
3 2012    2     WPKL           Cheras                 Taman Miharja Fasa 2
4 2012    7     WPKL           Cheras Taman Miharja (Miharja Kondo Fasa 3)
5 2012    7     WPKL Bandar Tun Razak      Flat Sri Melaka B (Blok 24- 40)
6 2012    8     WPKL          Setapak            Flat Desa Tungku Mariam 1
  Total_Cases Outbreak_Duration
1           5                35
2          13                37
3           8                31
4           5                34
5           8                31
6          13                37

Dengue Data Plot In Malaysia

Here we can see the on of the plot that displayed the total dengue cases from the year 2012 to 2015 as given in the dataset.

plot of chunk unnamed-chunk-2