3 December 2017

Study of the Infectious Diseases in Singapore

Following are characteristics of the data

Source : data.gov.sg

  • Each epidemiological week begins on a Sunday and ends on a Saturday .
  • Data coverage is from Jan 1 2012 , to April 22nd 2017.
  • Frequency of updation is weekly
  • Source and managed by Ministry of Health.

Glimpse of the data

Few observations and summary of data respectively.

##    Year Week                   disease no._of_cases
## 1  2012  W01   Acute Viral hepatitis B            0
## 2  2012  W01   Acute Viral hepatitis C            0
## 3  2012  W01           Avian Influenza            0
## 4  2012  W01    Campylobacterenterosis            6
## 5  2012  W01         Chikungunya Fever            0
## 6  2012  W01                   Cholera            0
## 7  2012  W01              Dengue Fever           74
## 8  2012  W01 Dengue Haemorrhagic Fever            0
## 9  2012  W01                Diphtheria            0
## 10 2012  W01              Encephalitis            0
##       Year       no._of_cases                         disease.f   
##  Min.   :2012   Min.   :   0.00   Acute Viral hepatitis B  : 277  
##  1st Qu.:2013   1st Qu.:   0.00   Acute Viral hepatitis C  : 277  
##  Median :2014   Median :   0.00   Avian Influenza          : 277  
##  Mean   :2014   Mean   :  30.25   Cholera                  : 277  
##  3rd Qu.:2016   3rd Qu.:   2.00   Dengue Fever             : 277  
##  Max.   :2017   Max.   :1682.00   Dengue Haemorrhagic Fever: 277  
##                                   (Other)                  :7070  
##      Week.f    
##  W01    : 193  
##  W02    : 193  
##  W03    : 193  
##  W04    : 193  
##  W05    : 193  
##  W06    : 193  
##  (Other):7574

Plotting the data with Plotly package.

- With ggplot

Plotting with plotly package .

- with out ggplot.

Thank You!