Every sdvplotR / gtUtils name and its sdvtables home
| sdvplotR / gtUtils | sdvtables | Status | Note |
|---|---|---|---|
| gt_sdv_logos | c.logo | ported | |
| gt_sdv_wordmarks | c.wordmark | ported | |
| gt_sdv_headshots | c.headshot | ported | |
| gt_sdv_cols_label | labelHtml | not-ported | labels are text in Phase 4; use .titleHeader() or subheader |
| gt_merge_stack_team_color | c.mergeStackTeamColor | ported | |
| gt_theme_sdv | theme.sdv | ported | |
| gt_theme_sdv_team | theme.sdvTeam | ported | |
| gt_theme_almanac | theme.almanac | ported | |
| gt_theme_athletic | theme.athletic | ported | |
| gt_theme_booktabs | theme.booktabs | ported | |
| gt_theme_broadsheet | theme.broadsheet | ported | |
| gt_theme_brutalist | theme.brutalist | ported | |
| gt_theme_drench | theme.drench | ported | |
| gt_theme_gtutils | theme.gtutils | ported | |
| gt_theme_kenpom | theme.kenpom | ported | |
| gt_theme_midnight | theme.midnight | ported | |
| gt_theme_ncaa | theme.ncaa | ported | |
| gt_theme_pl | theme.pl | ported | |
| gt_theme_savant | theme.savant | ported | |
| gt_theme_scoreboard | theme.scoreboard | ported | |
| gt_theme_sofa | theme.sofa | ported | |
| gt_theme_swiss | theme.swiss | ported | |
| gt_theme_terminal | theme.terminal | ported | |
| gt_theme_tier | theme.tier | ported | |
| gt_theme_tufte | theme.tufte | ported | |
| gt_theme_preview | html.themePreview | ported | a Record<name, html>, not a grid |
| pal_midnight | PAL_MIDNIGHT | ported | |
| gt_538_caption | builder.caption538 | ported | |
| gt_bold_rows | builder.boldRows | ported | |
| gt_border_bars_top | builder.borderBars | ported | |
| gt_border_bars_bottom | builder.borderBars | ported | |
| gt_border_grid | builder.borderGrid | ported | |
| gt_color_pills | c.colorPills | ported | |
| gt_color_ranks | c.colorRanks | ported | |
| gt_color_results | c.colorResults | ported | a column kind (spec §6.1) that fills its row |
| gt_column_subheaders | builder.columns | ported | the per-column subheader option of every c.* kind |
| gt_cutline | builder.cutline | ported | |
| gt_delta | c.delta | ported | |
| gt_fmt_rank | c.rank | ported | |
| gt_fmt_tally | c.tally | ported | |
| gt_group_stripes | builder.groupStripes | ported | |
| gt_highlight_cells | c.highlight | ported | data predicate, not a formula |
| gt_highlight_na | c.highlightNa | ported | |
| gt_indicator_boxes | c.indicatorBox | ported | value list, not a rule |
| gt_legend_continuous | builder.legendContinuous | ported | |
| gt_legend_discrete | builder.legendDiscrete | ported | |
| gt_color_legend | builder.legendContinuous | ported | deprecated gtUtils name (sdvplotR deprecated.R:20) |
| gt_centered_legend | builder.legendDiscrete | ported | deprecated gtUtils name (sdvplotR deprecated.R:27) |
| gt_marginalia | builder.marginalia | ported | |
| gt_outliers | builder.outliers | ported | |
| gt_percentile_bar | c.percentileBar | ported | |
| gt_row_accent | builder.rowAccent | ported | |
| gt_scale_note | builder.scaleNote | ported | |
| gt_set_font | builder.font | ported | |
| gt_significance | builder.significance | ported | |
| gt_snake | builder.snake | ported | |
| gt_snake_align | snakeAlign | ported | |
| gt_social_tag | builder.socialTag | ported | |
| gt_spotlight | builder.spotlight | ported | |
| gt_tiers | builder.tiers | ported | |
| gt_title_header | builder.titleHeader | ported | |
| gt_watermark | builder.watermark | ported | |
| gt_wrap_labels | builder.wrapLabels | ported | |
| gt_save_crop | tableToPNG | phase-5 | |
| gt_save_batch | tableToPNG | phase-5 | |
| gt_social_crop | socialCrop | phase-5 | |
| gt_grid | gridTables | phase-5 | |
| gt_stack_tables | stackTables | phase-5 | |
| reactable_sdv_logos | c.logo | ported | |
| reactable_sdv_wordmarks | c.wordmark | ported | |
| reactable_sdv_headshots | c.headshot | ported | |
| reactable_sdv_cols_label | labelHtml | not-ported | as gt_sdv_cols_label |
| reactable_sdv_team_color_bar | c.teamColorBar | ported | |
| reactable_sdv_team_color_bg | c.teamColorBg | ported |
import { GT_ALIASES, aliasFor, defineTable } from "@sportsdataverse/sdvtables";
import { renderHTMLAsync } from "@sportsdataverse/sdvtables/html";
// c.<kind> is a column kind, builder.<method> a decoration, theme.<name> a theme, html.<name> the ./html subpath.
const rows = Object.entries(GT_ALIASES).map(([name, a]) => ({
name,
target: a.target,
status: a.status,
note: a.note ?? "",
}));
const spec = defineTable<(typeof rows)[number]>()
.columns((c) => [
c.text("name", { label: "sdvplotR / gtUtils" }),
c.text("target", { label: "sdvtables" }),
c.highlight("status", { key: "status", op: "!=", value: "ported" }),
c.text("note"),
])
.title("GT_ALIASES")
.subtitle(
`${rows.length} names; aliasFor("gt_color_pills").target is "${aliasFor("gt_color_pills")?.target}"`,
)
.build();
await renderHTMLAsync(spec, rows);
Tags: table · GT_ALIASES · aliasFor · migration · sdvplotR · gtUtils. All sdvtables examples.