Over the campfire, you and a friend get into a debate about which college in Utah has had the best MLB success. As an avid BYU fan, you want to prove your point, and you go to data to settle the debate. You need a clear visualization that depicts the performance of BYU players compared to other Utah college players that have played in the major leagues. The
library(Lahman) package has a comprehensive set of baseball data. It is great for testing out our relational data skills. We will also need a function to inflation adjust the player salaries -
library(blscrapeR). See this guide for an example.
This reading will help you complete the tasks below.
library(Lahman)and examine the available data sets available
library(blscrapeR)and use the
inflation_adjust(2017)function to get all earnings in 2017 dollars
.Rscript and image to your repository and be ready to share your code and image at the beginning of class