library(tidyverse)
<- read_csv("https://raw.githubusercontent.com/36-SURE/36-SURE.github.io/main/data/covid_cases_deaths.csv") covid_cases_deaths
EDA project: COVID cases and deaths in Pennsylvania
Overview
This project will be released on Thursday, June 6 and conclude with an 8-minute presentation on Tuesday, June 18 during lecture time.
Students will be randomly placed into groups of three and each group will be randomly assigned a dataset.
The goal of this project is to practice understanding the structure of a dataset, and to practice generating and evaluating hypotheses using fundamental EDA and data visualization techniques.
Deliverables
Each group is expected to make slides to accompany the 8-minute presentation.
The presentation should feature the following:
Overview of the structure of your dataset
Three questions/hypotheses you are interested in exploring
Three data visualizations exploring the questions, at least two of which must be multivariate. Each visualization must be in a different format from the other two, and you must have at least one categorical and one continuous visualization
One clustering analysis
Conclusions for the hypotheses based on your EDA and data visualizations
Timeline
There will be two submission deadlines:
Thursday, June 13 at 5pm ET - Each student will push their individual code for the project thus far to GitHub for review. We will then provide feedback.
Monday, June 17 at 5pm ET - Slides and full code must be completed and ready for presentation. Send your slides to Quang (quang@stat.cmu.edu
). All code must be written in R
; but the slides may be created in any software. Take advantage of examples from lectures, but also feel free to explore online resources that may be relevant. (But be sure to always consult the R
help documentation first before attempting to google around or ask ChatGPT.)
Data
This dataset contains county-level information on the number of COVID-related cases and deaths for Pennsylvania. In particular, daily case and death counts, averages, and rates are provided for all counties in Pennsylvania, with the dates ranging from April 1, 2020 to December 31, 2020. The data are available online at the Open Data Pennsylvania website. More information about the cases and deaths data can be found here and here.
Each row in the dataset corresponds to a county in Pennsylvania on a given date (between April 1, 2020 and December 31, 2020) and the columns are:
county
: name of countydate
: datecases
: number of new confirmed and probable cases first reported to the Department of Health on that datecases_avg_new
: rolling 7-day average of new confirmed and probable casecases_cume
: cumulative confirmed and probable cases reported through that date
cases_rate
: number of new confirmed and probable cases reported that date per 100,000 populationcases_avg_new_rate
: rolling 7-day average of new confirmed and probable cases per 100,000 populationcases_cume_rate
: number of cumulative confirmed and probable cases reported through that date per 100,000 population
deaths
: count of new deaths
deaths_avg_new
: new deaths, 7-day averagedeaths_cume
: cumulative count of deaths
population
: population (as of 2019)
deaths_rate
: new deaths per 100,000 populationdeaths_avg_new_rate
: new deaths per 100,000 population, 7-day averagedeaths_cume_rate
: cumulative count of deaths per 100,000 populationlongitude
: a longitude generic point within the countylatitude
: a latitude generic point within the county