Package: sdvplotR 0.1.0

sdvplotR: Sports Team Logo Plots in 'ggplot2', 'gt' and 'reactable'
A unified set of functions to visualize sports data across the 28 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, in 'ggplot2' plots, 'gt' tables and 'reactable' tables, and in interactive 'plotly', 'ggiraph' and 'leaflet' charts and maps. Team logos, wordmarks and player headshots can be drawn as plot layers, as axis text and inside table cells, in the design a team used in a given season, and team 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>, read at run time with a copy bundled in the package. Built on 'ggpath' following the conventions of 'nflplotR' and designed to work with the companion SportsDataverse data packages. 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.1.0.tar.gz
sdvplotR_0.1.0.zip(r-4.7-any)sdvplotR_0.1.0.zip(r-4.6-any)sdvplotR_0.1.0.zip(r-4.5-any)
sdvplotR_0.1.0.tgz(r-4.6-any)sdvplotR_0.1.0.tgz(r-4.5-any)
sdvplotR_0.1.0.tar.gz(r-4.7-any)sdvplotR_0.1.0.tar.gz(r-4.6-any)
sdvplotR_0.1.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:f6863802fa. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 185 | ||
| source / vignettes | OK | 264 | ||
| linux-release | OK | 186 | ||
| macos-release | OK | 138 | ||
| macos-oldrel | OK | 114 | ||
| windows-devel | OK | 159 | ||
| windows-release | OK | 149 | ||
| windows-oldrel | OK | 126 | ||
| wasm-release | OK | 147 |
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_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_axis_logossdv_clear_cachesdv_color_palettesdv_colorwaysdv_court_coordssdv_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
