Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made a file to include region graphs #108

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
0456144
updates to readme
sophiacofone Apr 13, 2022
65e3a38
Merge pull request #99 from ds5010/sophia_readme
PhilipMathieu Apr 14, 2022
6caaae6
Adjust colors and other small tweaks for comparison
PhilipMathieu Apr 22, 2022
52dde2f
Switched back to old colors but with contrasting arrangement
PhilipMathieu Apr 22, 2022
9964f67
Merge pull request #101 from ds5010/philip_comparison_changes
PhilipMathieu Apr 27, 2022
a4f23a2
chnged date list to read file
smawe Oct 26, 2022
dc664cd
changed date list to read in file
smawe Oct 26, 2022
444b396
updated vaccines.py
rblalani Oct 26, 2022
2315870
changed list of dates to dates read form csv
Oct 26, 2022
471f664
correct dir for months
smawe Oct 26, 2022
54103a7
Merge pull request #2 from smawe/sohene-dev
smawe Oct 26, 2022
fcaf72d
Merge pull request #3 from smawe/rl-dev
smawe Oct 26, 2022
efc2d37
Merge pull request #1 from smawe/smawe-dev
smawe Oct 26, 2022
fc39669
added quotation marks
Oct 26, 2022
96a24db
updated pathway to cvs
rblalani Oct 26, 2022
f2aeb7e
Added scatters_region.py
afrizv22 Oct 26, 2022
1c70129
Merge pull request #4 from smawe/sohene-dev
smawe Oct 26, 2022
95f080e
Merge pull request #5 from smawe/rl-dev
smawe Oct 26, 2022
0e306ac
add months.csv
smawe Oct 26, 2022
4ca642a
scatters area update
moriarity-tim Oct 26, 2022
24ed807
added animation_regions.py and changed the make file
afrizv22 Oct 26, 2022
1cad3a2
added animation_regions.py and changed the make file
afrizv22 Oct 26, 2022
e2c56eb
Merge pull request #25 from smawe/main
pbnu Oct 26, 2022
8e54137
Merge branch 'ds5010:main' into main
alex-riz-NE Oct 26, 2022
494fc50
update to readme
afrizv22 Oct 26, 2022
d145b07
mergeMerge branch 'main' of https://github.com/alex-riz-NE/vaccines-2…
afrizv22 Oct 26, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ img: clean-img scatters comparison animation
# Make everything (including refreshing data)
all: clean data cdc vaccines deaths merge scatters animation comparison

#Makes the regions data
regions: clean data cdc vaccines deaths merge scattersR animationR

###### Specific Commands ######
# Make the data directory
.PHONY: data # lets us use "make data" even though data/ is also a directory
Expand Down Expand Up @@ -41,6 +44,12 @@ merge: data/JHU/ data/CDC/
scatters: data/Merge/
mkdir -p img
python -B src/scatters.py


# Create series of scatter plots, save .png files to 'img' directory
scattersR: data/Merge/
mkdir -p img
python -B src/scatters_by_region.py

# Compare two counties based on FIPS
# The two variables below can be changed here or overridden by environment variables using make -e
Expand All @@ -50,6 +59,11 @@ comparison: data/Merge/
# Combine generated png's to make an animation
animation: scatters
python -B src/animation.py


# Combine generated png's to make an animation
animationR: scattersR
python -B src/animation_regions.py

# Remove data and image directories
# This could be useful if you want to regenerate the merged dataset
Expand Down
37 changes: 31 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,23 @@
# Exploring COVID-19 Vaccine Effectiveness

## National View
![](img/animation.gif)

## NorthEast Region
![](img/NorthEast.gif)

## South Region
![](img/South.gif)

## West Region
![](img/West.gif)


## West Region
![](img/West.gif)

## County View
![](img/comparison.png)

## Overview
This analysis aims to explore the relationship between Covid-19 vaccinations and deaths attributed to Covid-19 in the U.S. between 5/31/21 - 11/30/21 to analyze the effectiveness of the Covid-19 vaccination over time.

Expand Down Expand Up @@ -72,10 +88,10 @@ Additionally, the make file allows you to download the data, merge the files, pl
## Output
Assuming all is well, the output should look something like this:
![](img/animation.gif)
and this:
![](img/comparison.png)

## Analysis


## Analysis - National View
The proportion of the population that is vaccinated increases over the time frame, which you can see as the bubbles move from left to right. The quantity of deaths increases as well month-by-month, which makes sense: more deaths accumulate each month while the denominator (the 2019 Census population) stays the same. We also know that the Delta variant hit during this time period, which was much more contagious than previous strains: we should expect deaths to increase.

However, consider the trajectories of the large bubbles (representing highly populous counties) vs. their smaller counterparts. The largest bubbles progress steadily into the 70-80% vaccinated range by the end of the timeframe, and their rate of deaths generally tops out at 100 deaths/100K people. Many smaller bubbles struggle to reach the 50% vaccinated mark, and several of their death rates soar into the 300-400 deaths/100K range. Comparing these two groups suggest that vaccination is highly effective--otherwise the more highly-populated areas would likely have similar (or even worse) death rates, given the physical proximity of the population in these urban centers.
Expand All @@ -84,16 +100,25 @@ Regional differences prove to be fertile ground for continued research. Many of

These findings suggest that behavioral differences rural vs. urban communities (mask wearing, social distancing, etc.) or differences in political ideology may affect vaccine adoption--but they offer little doubt that the COVID vaccines are effective at minimizing the death toll of the virus.

## Analysis - County View
This visualization shows a county-level comparison between Kent County, RI and Tuscaloosa County, AL.

The team selected Kent County and Tuscaloosa County due to their similar population demographics, but highly different rates of vaccination to see the impact (if any) on death rates due to COVID-19.

The visualization indicates a very noticeable difference between the number of deaths in a county with high vaccination rates (Kent, RI) and the number of deaths in a county with low vaccination rates (Tuscaloosa, AL). It is important to note that this analysis only compares two specific counties and does not take into consideration other relevant factors such as mask wearing and social distancing. However, it is still interesting to see that the conclusion from the analysis of all U.S. counties is the same as the analysis from individual county perspective.

## Acknowledgements

The inspiration to visualize vaccine rate v death rate for this project came from the following NPR article: [Pro-Trump counties now have far higher COVID death rates. Misinformation is to blame.](https://www.npr.org/sections/health-shots/2021/12/05/1059828993/data-vaccine-misinformation-trump-counties-covid-death-rate)

## Future Considerations

**Dataset**
* Compare different regions with similar population sizes
* Compare individual areas with higher vaccination rates against similar areas with lower vaccination rates
* Subset data to explore effectiveness across different age ranges
* Segment date ranges and countes to align with peaks and valleys in Covid spread

**Code**
* Add regression line to better visualize trends in data
* Explore the use of different chart types (map, bar chart, line graph)

### Contributors
Expand Down
Loading