Package: sdvplotR 0.3.0

sdvplotR: Sports Team Logo Plots in 'ggplot2', 'gt' and 'reactable'
Sports team logos, wordmarks, player headshots and team colors are drawn in 'ggplot2' plots, 'gt' and 'reactable' tables, and interactive 'plotly', 'ggiraph' and 'leaflet' charts and maps. The functions cover the 49 leagues of the SportsDataverse team index, including the National Football League, National Basketball Association, Women's National Basketball Association, Major League Baseball, National Hockey League, college football and basketball, and soccer. Images can be drawn as plot layers, as axis text and inside table cells, in the design a team used in a given season, and color scales map team identifiers to their official colors. Playing surfaces from 'sportyR' can be painted in a team's colors. Team identifiers from many data providers, including the codes of relocated franchises, are resolved to one canonical team id per league through the team index and logo manifest of the SportsDataverse logo archive <https://github.com/sportsdataverse/sdv-assets>, which the package reads at run time and bundles a copy of. The package is built on 'ggpath', follows the conventions of 'nflplotR' and works with the companion SportsDataverse data packages. It also includes the 'gtUtils' table themes, color legends, cut lines, significance notation, outlier flags and cropping and saving helpers for 'gt' tables.
Authors:
sdvplotR_0.3.0.tar.gz
sdvplotR_0.3.0.zip(r-4.7-any)sdvplotR_0.3.0.zip(r-4.6-any)sdvplotR_0.3.0.zip(r-4.5-any)
sdvplotR_0.3.0.tgz(r-4.6-any)sdvplotR_0.3.0.tgz(r-4.5-any)
sdvplotR_0.3.0.tar.gz(r-4.7-any)sdvplotR_0.3.0.tar.gz(r-4.6-any)
sdvplotR_0.3.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sdvplotR/json (API)
| # Install 'sdvplotR' in R: |
| install.packages('sdvplotR', repos = c('https://sportsdataverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sportsdataverse/sdvplotr/issues
Pkgdown/docs site:https://sdvplotr.sportsdataverse.org
- sdv_example_standings - Final regular-season standings for the examples
- theme_bg - Background colors used by the gt_theme_*() table themes
data-visualizationggplot2gtreactablesportssports-datasportsdataverse
Last updated from:141aead2c3. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 231 | ||
| source / vignettes | OK | 244 | ||
| linux-release | OK | 228 | ||
| macos-release | OK | 196 | ||
| macos-oldrel | OK | 163 | ||
| windows-devel | OK | 153 | ||
| windows-release | OK | 118 | ||
| windows-oldrel | OK | 153 | ||
| wasm-release | OK | 141 |
Exports:add_sdv_headshotsadd_sdv_logosadd_sdv_wordmarksaddSdvLogoMarkerselement_pathelement_rasterelement_sdv_headshotelement_sdv_logoelement_sdv_rasterelement_sdv_wordmarkgeom_from_pathgeom_mean_linesgeom_median_linesgeom_sdv_binsgeom_sdv_bins_interactivegeom_sdv_headshotsgeom_sdv_headshots_interactivegeom_sdv_logosgeom_sdv_logos_interactivegeom_sdv_wordmarksgeom_sdv_wordmarks_interactiveGeomFromPathGeomRefLinesGeomSDVheadshotGeomSDVlogoGeomSDVwordmarkggtitle_imagegt_538_captiongt_bold_rowsgt_border_bars_bottomgt_border_bars_topgt_border_gridgt_color_pillsgt_color_ranksgt_color_resultsgt_column_subheadersgt_cutlinegt_deltagt_fmt_rankgt_fmt_tallygt_gridgt_group_stripesgt_highlight_cellsgt_highlight_nagt_indicator_boxesgt_legend_continuousgt_legend_discretegt_marginaliagt_merge_stack_team_colorgt_outliersgt_percentile_bargt_row_accentgt_save_batchgt_save_cropgt_scale_notegt_sdv_cols_labelgt_sdv_headshotsgt_sdv_logosgt_sdv_wordmarksgt_set_fontgt_significancegt_snakegt_snake_aligngt_social_cropgt_social_taggt_spotlightgt_stack_tablesgt_theme_aergt_theme_almanacgt_theme_athleticgt_theme_barttorvikgt_theme_basketball_referencegt_theme_bbc_sportgt_theme_bloomberg_marketsgt_theme_booktabsgt_theme_broadsheetgt_theme_brutalistgt_theme_cleaning_the_glassgt_theme_datagolfgt_theme_drenchgt_theme_dunks_and_threesgt_theme_economistgt_theme_espn_sitegt_theme_fivethirtyeight_sitegt_theme_formula1gt_theme_gov_ukgt_theme_gtutilsgt_theme_guardiangt_theme_kenpomgt_theme_midnightgt_theme_ncaagt_theme_nzzgt_theme_opta_analystgt_theme_our_world_in_datagt_theme_plgt_theme_previewgt_theme_reuters_graphicsgt_theme_savantgt_theme_scoreboardgt_theme_sdvgt_theme_sdv_teamgt_theme_sofagt_theme_sourcegt_theme_swissgt_theme_terminalgt_theme_tiergt_theme_tuftegt_theme_washington_postgt_theme_wikipediagt_tiersgt_title_headergt_watermarkgt_wrap_labelspal_midnightreactable_sdv_cols_labelreactable_sdv_headshotsreactable_sdv_logosreactable_sdv_team_color_barreactable_sdv_team_color_bgreactable_sdv_themereactable_sdv_wordmarksscale_color_sdvscale_colour_sdvscale_fill_sdvscale_x_sdvscale_x_sdv_headshotsscale_y_sdvscale_y_sdv_headshotssdv_add_athlete_idsdv_aliasessdv_axis_logossdv_bin_idssdv_binssdv_clean_namessdv_clear_cachesdv_color_palettesdv_colorwaysdv_court_coordssdv_ggpreviewsdv_headshot_urlsdv_leaguessdv_logo_urlsdv_markssdv_pitch_coordssdv_resolvesdv_suggestsdv_surfacesdv_table_themessdv_team_colorssdv_team_factorsdv_team_tierssdv_teamssdv_versionstable_theme_spectheme_title_imagetheme_x_sdvtheme_y_sdv
Dependencies:base64encbigDbitopsbslibcachemclicommonmarkcpp11curldigestdplyrevaluatefarverfastmapfontawesomefsgenericsggpathggplot2gluegtgtablehighrhtmltoolshtmlwidgetsisobandjquerylibjsonlitejuicyjuiceknitrlabelinglifecyclelitedownmagickmagrittrmarkdownmemoisemimepillarpkgconfigR6rappdirsRColorBrewerRcppreactablereactRrlangrmarkdownS7sassscalestibbletidyselecttinytexutf8V8vctrsviridisLitewithrxfunxml2yaml
