I wanted a way for users to engage more hands-on with COVID-19 data in an interactive way as opposed to static data that is presented to prove someone's point. There is a lot of conflicting data about COVID-19 presented, and getting to deal with the raw data for yourself can help individuals get a fuller sense of what's going on.

What it does

This shinyapp pulls raw data from a .csv file on Our World in Data which is a site that is updated daily. It then allows the user to pick a day specifically to focus on, and then look at the data over a variety of predetermined user-selected variables.

How I built it

I built a shinyapp using shiny in RStudio. I got the data set to be reactive, update itself and also pull from a link.

Challenges I ran into

It was difficult to get the data set to be "reactive" (meaning it would change dynamically based on what the user had selected). I have only made one shinyapp before and that was in May 2019, so it was difficult working with it.

Accomplishments that I'm proud of

I'm proud that the data set imports automatically from a link, I'm proud of making the data frame reactive, and I'm proud of creating a check box for two different graphs using reactive if/else statements.

What I learned

I learned a lot! I learned how to import data from a url, I learned how to make an element reactive in shiny. I learned how to get variables to not pass as strings but instead as the values they were supposed to.

What's next for COVID-19 Data Analysis

I think having data for different US states as opposed to just the country as a whole would be beneficial. I also want to change some of the axes on the graphs so that they make more sense.

Built With

  • r
  • rstudio
  • shiny
  • shinyapps
Share this project: