First we use the rvest package to extract the data table and name it mn.
We then proceed to append a column deathRate to the created data table. This column calculates the ratio of deaths to recorded positive cases per age group.
Lastly, we create some visualization for our data.
The data for this problem can be accessed from here.
First we read the data into a table called election. Then filter that data set into another, candidates, that only has data on Democrats and Republicans.
Determining which states constantly support one party.
Creating a scatterplot.