Homework 10

Due 2020-12-02 by midnight.

  1. Revisit the Ted Williams data set. Use webscraping to read the data into python. Remove all columns besides year, games played (GP), and Batting Average (BA). Remove the rows of data where he did not play.
  2. Use the website GoodReads to scrape information for the best young adult novels. Create a data frame with the name of the book, the author, the score, and the number of people voting (i.e. score: 151,833, and 1,541 people voted for Hunger games as of 11/24/2020)