Package: mlbplotR 1.1.0.9007
mlbplotR: Create 'ggplot2' and 'gt' Visuals with Major League Baseball Logos
Tools to help visualize Major League Baseball analysis in 'ggplot2' and 'gt'. You provide team/player information and 'mlbplotR' will transform that information into team colors, logos, or player headshots for graphics.
Authors:
mlbplotR_1.1.0.9007.tar.gz
mlbplotR_1.1.0.9007.zip(r-4.5)mlbplotR_1.1.0.9007.zip(r-4.4)mlbplotR_1.1.0.9007.zip(r-4.3)
mlbplotR_1.1.0.9007.tgz(r-4.4-any)mlbplotR_1.1.0.9007.tgz(r-4.3-any)
mlbplotR_1.1.0.9007.tar.gz(r-4.5-noble)mlbplotR_1.1.0.9007.tar.gz(r-4.4-noble)
mlbplotR_1.1.0.9007.tgz(r-4.4-emscripten)mlbplotR_1.1.0.9007.tgz(r-4.3-emscripten)
mlbplotR.pdf |mlbplotR.html✨
mlbplotR/json (API)
NEWS
# Install 'mlbplotR' in R: |
install.packages('mlbplotR', repos = c('https://camdenk.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/camdenk/mlbplotr/issues
baseballggplot2sportsdataverse
Last updated 9 days agofrom:ffa8209b5e. Checks:OK: 5 NOTE: 2. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 18 2024 |
R-4.5-win | NOTE | Nov 18 2024 |
R-4.5-linux | NOTE | Nov 18 2024 |
R-4.4-win | OK | Nov 18 2024 |
R-4.4-mac | OK | Nov 18 2024 |
R-4.3-win | OK | Nov 18 2024 |
R-4.3-mac | OK | Nov 18 2024 |
Exports:clean_team_abbrselement_milb_dot_headshotelement_milb_dot_logoelement_milb_light_cap_logoelement_milb_logoelement_mlb_dark_cap_logoelement_mlb_dot_headshotelement_mlb_dot_logoelement_mlb_headshotelement_mlb_light_cap_logoelement_mlb_logoelement_mlb_scoreboard_logoelement_pathgeom_from_pathgeom_mean_linesgeom_median_linesgeom_milb_dot_headshotsgeom_milb_dot_logosgeom_milb_light_cap_logosgeom_milb_logosgeom_mlb_dark_cap_logosgeom_mlb_dot_headshotsgeom_mlb_dot_logosgeom_mlb_headshotsgeom_mlb_light_cap_logosgeom_mlb_logosgeom_mlb_scoreboard_logosGeomFromPathGeomMiLBdotheadsGeomMiLBdotlogoGeomMiLBlightcaplogoGeomMiLBlogoGeomMLBdarkcaplogoGeomMLBdotheadsGeomMLBdotlogoGeomMLBheadsGeomMLBlightcaplogoGeomMLBlogoGeomMLBscoreboardlogoGeomRefLinesggpreviewgt_fmt_milb_dot_headshotgt_fmt_milb_dot_logogt_fmt_milb_logogt_fmt_mlb_dot_headshotgt_fmt_mlb_dot_logogt_fmt_mlb_headshotgt_fmt_mlb_logogt_fmt_mlb_scoreboard_logogt_merge_stack_team_colorgt_mlb_column_labelsload_headshotsload_milb_teamsload_mlb_teamsmlb_player_tiersmlb_team_factormlb_team_tiersscale_color_mlbscale_colour_mlbscale_fill_mlbscale_x_mlbscale_y_mlbtheme_x_mlbtheme_y_mlbvalid_team_names
Dependencies:base64encbigDbitopsbslibcachemclicolorspacecommonmarkcurldata.tabledigestdplyrevaluatefansifarverfastmapfontawesomefsgenericsggplot2gluegtgtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonlitejuicyjuiceknitrlabelinglatticelifecyclemagickmagrittrmarkdownMASSMatrixmemoisemgcvmimemunsellnlmepillarpkgconfigR6rappdirsRColorBrewerRcppreactablereactRrlangrmarkdownsassscalestibbletidyselecttinytexutf8V8vctrsviridisLitewithrxfunxml2yaml
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Standardize MLB Team Abbreviations | clean_team_abbrs |
Theme Elements for Image Grobs | element_milb_dot_headshot element_milb_dot_logo element_milb_light_cap_logo element_milb_logo element_mlb_dark_cap_logo element_mlb_dot_headshot element_mlb_dot_logo element_mlb_headshot element_mlb_light_cap_logo element_mlb_logo element_mlb_scoreboard_logo element_path |
ggplot2 Layer for Visualizing MLB Team Cap Logos | geom_cap_logos geom_mlb_dark_cap_logos geom_mlb_light_cap_logos |
ggplot2 Layer for Visualizing Images from URLs or Local Paths | geom_from_path |
ggplot2 Layer for Horizontal and Vertical Reference Lines | geom_mean_lines geom_median_lines |
ggplot2 Layer for Visualizing MiLB Team Logos | geom_milb_dot_logos geom_milb_light_cap_logos geom_milb_logos |
ggplot2 Layer for Visualizing MLB/MiLB Player Headshots | geom_milb_dot_headshots geom_mlb_dot_headshots geom_mlb_headshots |
ggplot2 Layer for Visualizing MLB Team Logos | geom_mlb_dot_logos geom_mlb_logos geom_mlb_scoreboard_logos |
Preview ggplot in Specified Dimensions | ggpreview |
Merge and stack text from two columns in 'gt' and color one with team colors | gt_merge_stack_team_color |
Add MiLB team logos into rows of a 'gt' table | gt_fmt_milb_dot_logo gt_fmt_milb_logo gt_milb |
Add MLB team logos into rows of a 'gt' table | gt_fmt_mlb_dot_logo gt_fmt_mlb_logo gt_fmt_mlb_scoreboard_logo gt_mlb |
Replace Team Abbreviations/Player IDs With Images In Column Labels | gt_mlb_column_labels |
Render Player Headshots in 'gt' Tables | gt_fmt_milb_dot_headshot gt_fmt_mlb_dot_headshot gt_fmt_mlb_headshot gt_mlb_headshots |
Output MLB Team Abbreviations | load_headshots |
Load MiLB Team Colors, and Logos | load_milb_teams |
Load MLB Team Colors, and Logos | load_mlb_teams |
Create MLB Player Tiers | mlb_player_tiers |
Create Ordered MLB Team Factor | mlb_team_factor |
Create MLB Team Tiers | mlb_team_tiers |
Axis Scales for MLB Team Logos | scale_x_mlb scale_y_mlb |
Scales for MLB Team Colors | scale_color_mlb scale_colour_mlb scale_fill_mlb |
Theme for MLB Team Logos | theme_x_mlb theme_y_mlb |
Output Valid MLB Team Abbreviations | valid_team_names |