1.I am from Milwaukee, Wisconsin, so my favorite basketball team is the Bucks. I am very blessed because recently the Bucks have gone from one of the biggest jokes in the league to being a championship winning team thanks to the hard-work and attitude of Giannis Antetokounmpo. So for this assignment I want to see how truly legendary Giannis’ season was when they went on to win the championship.
2.For this assignment I will be scraping the ESPN website in order to get data from Giannis’ 20-21 season and post-season to analyze. I will be scraping the website to grab whether or not a game was won, how many minutes Giannis played, his field goal percentage, his rebounds, his points, and more. This is suitable because it will capture all the stat lines that Giannis shines in as well as seeing if the game was won or not.
3.Here is the data set I created through scraping. I created it by scraping the ESPN website for tables of Giannis’ games. Once I had the tables from pre-season, regular season, and post-season I had to do some cleaning on them. The regular season and pre-season tables both had rows at the bottom of the table that identified what month the games took place in so I had to take those out. The post-season tables had an identifies under each game that specified which round of the playoffs it was and which game it was in that round so before combing tables, I had to take those out. Before I could combine the tables I had to change many of the data types to fit the other tables. I am not sure why ESPN does not do this initially, but I had to correct their mistake in order to create this table. Once everything was cleaned I went in and binded rows, creating a table that holds statistics from every game that Giannis played in the 2020-2021 season.
champ <- read_csv("https://myxavier-my.sharepoint.com/:x:/g/personal/ocallaghant_xavier_edu/EVTr6E0M-JpLqFkXeEhh4SoBVLQ3SKK64uriQ8V5DHkiKA?download=1")
## New names:
## Rows: 85 Columns: 18
## ── Column specification
## ──────────────────────────────────────────────────────── Delimiter: "," chr
## (6): Date, OPP, Result, FG, 3PT, FT dbl (12): ...1, MIN, FG%, 3P%, FT%, REB,
## AST, BLK, STL, PF, TO, PTS
## ℹ Use `spec()` to retrieve the full column specification for this data. ℹ
## Specify the column types or set `show_col_types = FALSE` to quiet this message.
## • `` -> `...1`
4.For my analysis I will be creating a graph that shows the relationship between Giannis’ stats and his rebounds. I believe this will answer my question because these are Giannis’ two best areas of basketball.
#1
This graph shows us that Giannis has had many games where he puts up a good amount of rebounds as well as points. This is a big indicator of what makes his so good because he is able to score the ball very well while also grabbing rebounds of not only his shots but also his teammates. These rebounds are very important because they open up more scoring opportunities for himself or put the ball back into his teams hands.
#2
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Giannis has a very wide distribution of points. There are a few games where he puts up less than ten, most are in between ten and forty, and some go beyond forty. Points is clearly a big contributor to how good he was in his championship season. This graph shows how legendary he was this season. Not many players can put up fifty points in a game, let alone the NBA finals.
#3
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Giannis is a very prolific rebounder and this graph shows that clearly. Having almost twenty rebounds in a game is a great way to hold control of the game. Because of Giannis’ size, rebounds come easy to him. He has had the most games with twelve or thirteen rebounds. This very much contributed to his legendary season. I am not sure if they would have won or gone as far as they did if it weren’t for Giannis’ rebounds.
#4
## `stat_bin()` using `bins = 30`. Pick better value with `binwidth`.
Giannis once won the legendary award for defensive player of the year so looking at his defensive statistics is a must. Blocks are very hard to come by, especially in the NBA where everyone practices their lay-ups religiously so they don’t show up on a poster. Giannis is very good at blocking, seeing as he has more games where he gets blocks than games where he does not get blocks. This is a clear contributor to his legendary season because not only do defensive stops win games, a great block can create momentum as well as get the whole team rowdy.
#5
This is a very interesting graph because it shows the relationship between points scored and turnovers. It would make sense that in order to score the most points, you have to have the least amount of turnovers. This holds true for Giannis, because as you can see his most scoring games usually do not have many turnovers, but there are some exceptions. This for sure plays into why his season was so legendary becuase not only was he able to have minimal turnovers, he was still able to put up big numbers while turning it over.