Team: UCLA

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

Category <- c("Games", "Minutes")
Value <- c(12,28.5)
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.646, .228, 0.35, 23.1, 0.52, 1.5, 31.1, 0.175, 0.14, 0.316, 9.3, 7.6)
cbind(Stats, Values) %>% as_data_frame() %>% gt() %>%
  gt_highlight_rows( rows = c(1,2,5,7,8,9,10,11,12,13), fill = "green") %>%
  gt_highlight_rows( rows = c(3,4,6), fill = "orange")
Stats Values
TS% 0.655
EFG% 0.646
3PA Rate 0.228
FTA Rate 0.35
USG% 23.1
Ast/USG 0.52
Ast/TO 1.5
Per 31.1
OWS/40 0.175
DWS/40 0.14
WS/40 0.316
OBPM 9.3
DBPM 7.6

Draft Value

Category <- c("Draft Value", "NBA Level in 3 years", "Consensus Mock Draft")
Value <- c("Late First/Early Second", "Role Player", 47)

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

Roles

Side <- c("Offense", "Defense")
Current <- c("Secondary Creator", "On Ball Container")
Projected <- c("Spacer", "On Ball Container")
cbind(Side,Current,Projected) %>% reactable(theme = espn()) 

Best/Worst Skill

Skill <- c("Best Skill", "Worst Skill")
Player <- c("On Ball Defense", "Offensive Creation")
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(3,7,8), fill = "green") %>%
  gt_highlight_rows( rows = c(1,2,4,5,6,9,10,11,12,13,14), fill = "orange")
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