
Package index
Themes
Full blown gt themes that affect most if not all visual components of the table. Similar in spirit to ggplot2 themes like ggplot2::theme_minimal()
or ggthemes like ggthemes::theme_fivethirtyeight()
.
-
gt_theme_538()
- Apply FiveThirtyEight theme to a gt table
-
gt_theme_espn()
- Apply ESPN theme to a gt table
-
gt_theme_nytimes()
- Apply NY Times theme to a
gt
table
-
gt_theme_guardian()
- Apply Guardian theme to a
gt
table
-
gt_theme_dot_matrix()
- Apply dot matrix theme to a gt table
-
gt_theme_dark()
- Apply dark theme to a
gt
table
-
gt_theme_excel()
- Apply Excel-style theme to an existing gt table
-
gt_theme_pff()
- Apply a table theme like PFF
-
gt_plt_bar()
- Add bar plots into rows of a
gt
table
-
gt_plt_bar_pct()
- Add HTML-based bar plots into rows of a
gt
table
-
gt_plt_bar_stack()
- Add a percent stacked barchart in place of existing data.
-
gt_plt_bullet()
- Create an inline 'bullet chart' in a gt table
-
gt_plt_conf_int()
- Plot a confidence interval around a point
-
gt_plt_dist()
- Add distribution plots into rows of a
gt
table
-
gt_plt_dot()
- Add a color dot and thin bar chart to a table
-
gt_plt_dumbbell()
- Add a dumbbell plot in place of two columns
-
gt_plt_percentile()
- Create a dot plot for percentiles
-
gt_plt_point()
- Create a point plot in place of each value.
-
gt_plt_sparkline()
- Add sparklines into rows of a
gt
table
-
gt_plt_summary()
- Create a summary table from a dataframe
-
gt_plt_winloss()
- Add win loss point plot into rows of a
gt
table
-
fa_icon_repeat()
- Repeat fontawesome icons and convert to HTML
-
gt_fa_rating()
- Add rating "stars" to a gt column
-
gt_fa_rank_change()
- Add rank change indicators to a gt table
-
add_text_img()
- Add text and an image to the left or right of it
-
img_header()
- Add images as the column label for a table
-
gt_img_rows()
- Add local or web images into rows of a
gt
table
-
gt_img_multi_rows()
- Add multiple local or web images into rows of a
gt
table
-
gt_img_circle()
- Create circular border around an image
-
gt_img_border()
- Create an identifier line border at the bottom of an image
-
gt_hulk_col_numeric()
- Apply 'hulk' palette to specific columns in a gt table.
-
gt_color_rows()
- Add scaled colors according to numeric values or categories/factors
-
gt_color_box()
- Add a small color box relative to the cell value.
-
gt_alert_icon()
- Insert an alert icon to a specific column
-
gt_label_details()
- Add a simple table with column names and matching labels
-
with_tooltip()
- A helper to add basic tooltip inside a gt table
-
gt_hyperlink()
- Add a basic hyperlink in a gt table
Utilities
Helper functions and utilities with features not yet built into gt.
-
fmt_symbol_first()
- Aligning first-row text only
-
fmt_pad_num()
- Format numeric columns to align at decimal point without trailing zeroes
-
fmt_pct_extra()
- Convert to percent and show less than 1% as <1% in grey
-
pad_fn()
- Pad a vector of numbers to align on the decimal point.
-
gt_merge_stack()
- Merge and stack text from two columns in
gt
-
gt_merge_stack_color()
- Merge and stack text with background coloring from two columns in
gt
-
gt_highlight_rows()
- Add color highlighting to a specific row
-
gt_highlight_cols()
- Add color highlighting to a specific column(s)
-
gt_add_divider()
- Add a dividing border to an existing
gt
table.
-
tab_style_by_grp()
- Add table styling to specific rows by group
-
gt_double_table()
- Take data, a gt-generating function, and create a list of two tables
-
gt_two_column_layout()
- Create a two-column layout from a list of two gt tables
-
gtsave_extra()
- Use webshot2 to save a gt table as a PNG
-
gt_duplicate_column()
- Duplicate an existing column in a gt table
-
gt_index()
- Return the underlying data, arranged by the internal index
-
get_row_index()
- Get underlying row index for gt tables
-
generate_df()
- Generate pseudorandom dataframes with specific parameters
-
gt_reprex_image()
- Render 'gt' Table to Temporary png File