Problem 1

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.

Problem 2 Complete this

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.

Problem 3

Problem 4

Problem 5

Problem 6

Problem 7

Problem 8