Team: UCLA

library(tidyverse)
library(gt)
library(gtExtras)
library(dplyr)
library(reactable)
library(reactablefmtr)

Category <- c("Games", "Minutes")
Value <- c(12,19.8)
cbind(Category, Value) %>% reactable( theme = espn())

Notes:

Strengths

Weaknesses

Questions

Stats <- c("TS%", "EFG%", "3PA Rate", "FTA Rate", "USG%", "Ast/USG", "Ast/TO", "Per", "OWS/40", "DWS/40", "WS/40", "OBPM", "DBPM")
Values <- c(0.655, 0.636, 0, 0.436, 15.7, 0.49, 1.33, 20.36, "-", "-", 0.238, 1.7, 3.8)
cbind(Stats, Values) %>% as_data_frame() %>% gt() %>%
  gt_highlight_rows( rows = c(4,6), fill = "green") %>%
  gt_highlight_rows( rows = c(1,2,5,7,8,11,13), fill = "orange") %>%
  gt_highlight_rows( rows = c(3,12), fill = "red")
Stats Values
TS% 0.655
EFG% 0.636
3PA Rate 0
FTA Rate 0.436
USG% 15.7
Ast/USG 0.49
Ast/TO 1.33
Per 20.36
OWS/40 -
DWS/40 -
WS/40 0.238
OBPM 1.7
DBPM 3.8

Draft Value

Category <- c("Draft Value", "NBA Level in 3 years", "Consensus Mock Draft")
Value <- c("Mid/Late Second", "Sporadic Role Player", 40.5)

cbind(Category,Value) %>% reactable(theme = espn(),)

Roles

Side <- c("Offense", "Defense")
Current <- c("Rim Runner", "Anchor")
Projected <- c("Rim Runner", "Anchor")
cbind(Side,Current,Projected) %>% reactable(theme = espn()) 

Best/Worst Skill

Skill <- c("Best Skill", "Worst Skill")
Player <- c("Athleticism", "Experience")
cbind(Skill,Player) %>% reactable(theme = espn())

Athleticism (mental and physical)

Category <- c("Spacing Awareness", "Pattern Recognition", "Anticipation", "Cognitive Load", "Communication", "Balance", "Coordination", "Reflexes", "Stamina", "Change of Direction", "Change of Pace", "Strength", "Vertical Plane", "Pliability")
Evaluation <- c("Functional", "Functional", "Impactful", "Functional", "Functional", "Functional", "Impactful", "Impactful", "Functional", "Functional", "Functional", "Functional", "Functional", "Functional")
cbind(Category, Evaluation) %>% as_data_frame() %>% gt() %>%
  gt_highlight_rows( rows = c(12,13), fill = "green") %>%
  gt_highlight_rows( rows = c(1,2,3,4,5,6,7,8,10,11,14), fill = "orange") %>%
  gt_highlight_rows( rows = 9, fill = "red")
Category Evaluation
Spacing Awareness Functional
Pattern Recognition Functional
Anticipation Impactful
Cognitive Load Functional
Communication Functional
Balance Functional
Coordination Impactful
Reflexes Impactful
Stamina Functional
Change of Direction Functional
Change of Pace Functional
Strength Functional
Vertical Plane Functional
Pliability Functional
sessionInfo()
## R version 4.2.2 (2022-10-31)
## Platform: aarch64-apple-darwin20 (64-bit)
## Running under: macOS Ventura 13.0.1
## 
## Matrix products: default
## BLAS:   /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRblas.0.dylib
## LAPACK: /Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/lib/libRlapack.dylib
## 
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
## 
## attached base packages:
## [1] stats     graphics  grDevices utils     datasets  methods   base     
## 
## other attached packages:
##  [1] reactablefmtr_2.0.0 reactable_0.4.1     gtExtras_0.4.5     
##  [4] gt_0.8.0            forcats_0.5.2       stringr_1.5.0      
##  [7] dplyr_1.0.10        purrr_1.0.0         readr_2.1.3        
## [10] tidyr_1.2.1         tibble_3.1.8        ggplot2_3.4.0      
## [13] tidyverse_1.3.2    
## 
## loaded via a namespace (and not attached):
##  [1] lubridate_1.9.0     assertthat_0.2.1    digest_0.6.31      
##  [4] utf8_1.2.2          reactR_0.4.4        R6_2.5.1           
##  [7] cellranger_1.1.0    backports_1.4.1     reprex_2.0.2       
## [10] evaluate_0.19       httr_1.4.4          pillar_1.8.1       
## [13] rlang_1.0.6         googlesheets4_1.0.1 readxl_1.4.1       
## [16] fontawesome_0.4.0   rstudioapi_0.14     jquerylib_0.1.4    
## [19] rmarkdown_2.19      googledrive_2.0.0   htmlwidgets_1.6.0  
## [22] munsell_0.5.0       broom_1.0.2         compiler_4.2.2     
## [25] modelr_0.1.10       xfun_0.36           pkgconfig_2.0.3    
## [28] htmltools_0.5.4     tidyselect_1.2.0    fansi_1.0.3        
## [31] crayon_1.5.2        tzdb_0.3.0          dbplyr_2.2.1       
## [34] withr_2.5.0         grid_4.2.2          jsonlite_1.8.4     
## [37] gtable_0.3.1        lifecycle_1.0.3     DBI_1.1.3          
## [40] magrittr_2.0.3      scales_1.2.1        cli_3.5.0          
## [43] stringi_1.7.8       cachem_1.0.6        fs_1.5.2           
## [46] xml2_1.3.3          paletteer_1.5.0     bslib_0.4.2        
## [49] ellipsis_0.3.2      generics_0.1.3      vctrs_0.5.1        
## [52] rematch2_2.1.2      tools_4.2.2         glue_1.6.2         
## [55] crosstalk_1.2.0     hms_1.1.2           fastmap_1.1.0      
## [58] yaml_2.3.6          timechange_0.1.1    colorspace_2.0-3   
## [61] gargle_1.2.1        rvest_1.0.3         knitr_1.41         
## [64] haven_2.5.1         sass_0.4.4