Visualizing Global Influenza Surveillance Data Using Shiny App

X Guo
July 3rd

Motivation

Keeping track of the global influenza surveillance data is critical for public health. How do we design a simple App for people to look up the global data from each country?

  • Have a drop-down list of country names
  • Able to differentiate different types of influenza
  • Show a map

Original data

flu = read.csv(file = "fluByWeek.csv", header = TRUE, sep = ",", skip = 2)
head(flu)
       Country SP_RECEIVED SP_PROCESSED AH1 AH1N12009 AH3 AH5 ANOTSUBTYPED
1    Australia          NA          482  NA        14  17  NA            1
2      Belarus          NA           21   0         0   0  NA            0
3       Brazil         307          307   0        38   1   0            0
4     Bulgaria          NA            1   0         0   0  NA            0
5 Burkina Faso           6            6   0         0   3   0            0
6     Cambodia          32           32   0         4   0   0            0
  INF_A BYAMAGATA BVICTORIA BNOTDETERMINED INF_B INF_TOTAL
1    32        NA        NA             NA    13        45
2     0         0         0              0     0         0
3    39         0         0              6     6        45
4     0         0         0              0     0         0
5     3        NA        NA             NA     0         3
6     4         0         2              0     2         6
              Title
1          Sporadic
2         No Report
3 Regional Outbreak
4         No Report
5         No Report
6    Local Outbreak

Making the barplot

plot of chunk unnamed-chunk-2

Summary

Advantages

  • Easy to use and read
  • Compare different types of influenza

Areas of improvement

  • Try to make comparison aross the country
  • Try to make map reactive
  • Try to integrate a web scrapping program