7  Communicate

Author

Ben Koshy

8 Communicate

8.1 Setup

Code
#install.packages("rvest")
#install.packages("stringr")
#install.packages("tidyverse")
#install.packages("janitor")
#install.packages("gt")
#install.packages("reactable")
#install.packages("ggplot2")
#install.packages("ggrepel")
#install.packages("dpylr")
#install.packages(caret)

library(rvest)
library(stringr)
library(tidyverse)
Warning: package 'tibble' was built under R version 4.3.1
Warning: package 'lubridate' was built under R version 4.3.3
── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr     1.1.4     ✔ purrr     1.1.0
✔ forcats   1.0.0     ✔ readr     2.1.5
✔ ggplot2   3.5.2     ✔ tibble    3.2.1
✔ lubridate 1.9.3     ✔ tidyr     1.3.1
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter()         masks stats::filter()
✖ readr::guess_encoding() masks rvest::guess_encoding()
✖ dplyr::lag()            masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
Code
library(janitor)
Warning: package 'janitor' was built under R version 4.3.3

Attaching package: 'janitor'

The following objects are masked from 'package:stats':

    chisq.test, fisher.test
Code
library(gt)
library(reactable)
library(ggplot2)
library(ggrepel)
library(dplyr)
library(caret)
Loading required package: lattice

Attaching package: 'caret'

The following object is masked from 'package:purrr':

    lift

8.2 Conclusions

Finally communicating our findings in a neat and presentable way. I have chosen to build an interactive dashboard as the Shiny app.

I felt as this was the most appropriate way to show my findings and give my intended audience the most useful way to view the information.

The Shiny app can be found here: BDB Rushing

It consists of 3 main tabs

  • Player Analysis

    • Aims to give a summary of runner performance
  • Success Report

    • This gives a summary of plays that have seen the most success.
  • Prediction

    • Takes game features to predict run play success

8.3 Limitations

As you can tell, this isn’t a very polished report. I will be the first to say that the quality of this report could have been better with more time.