Easily Create Presentation-Ready Display Tables


[Up] [Top]

Documentation for package ‘gt’ version 0.3.1

Help Pages

adjust_luminance Adjust the luminance for a palette of colors
as_latex Output a gt object as LaTeX
as_raw_html Get the HTML content of a *gt* table
as_rtf Output a *gt* object as RTF
cells_body Location helper for targeting data cells in the table body
cells_column_labels Location helper for targeting the column labels
cells_column_spanners Location helper for targeting the column spanners
cells_footnotes Location helper for targeting the footnotes
cells_grand_summary Location helper for targeting cells in a grand summary
cells_row_groups Location helper for targeting row groups
cells_source_notes Location helper for targeting the source notes
cells_stub Location helper for targeting cells in the table stub
cells_stubhead Location helper for targeting the table stubhead cell
cells_stub_grand_summary Location helper for targeting the stub cells in a grand summary
cells_stub_summary Location helper for targeting the stub cells in a summary
cells_summary Location helper for targeting group summary cells
cells_title Location helper for targeting the table title and subtitle
cell_borders Helper for defining custom borders for table cells
cell_fill Helper for defining custom fills for table cells
cell_text Helper for defining custom text styles for table cells
cols_align Set the alignment of columns
cols_hide Hide one or more columns
cols_label Relabel one or more columns
cols_merge Merge data from two or more columns to a single column
cols_merge_n_pct Merge two columns to combine counts and percentages
cols_merge_range Merge two columns to a value range column
cols_merge_uncert Merge two columns to a value & uncertainty column
cols_move Move one or more columns
cols_move_to_end Move one or more columns to the end
cols_move_to_start Move one or more columns to the start
cols_unhide Unhide one or more columns
cols_width Set the widths of columns
countrypops Yearly populations of countries from 1960 to 2017
currency Supply a custom currency symbol to 'fmt_currency()'
data_color Set data cell colors using a palette or a color function
default_fonts A vector of default fonts for use with *gt* tables
escape_latex Perform LaTeX escaping
exibble A toy example tibble for testing with gt: exibble
extract_summary Extract a summary list from a *gt* object
fmt Set a column format with a formatter function
fmt_bytes Format values as bytes
fmt_currency Format values as currencies
fmt_date Format values as dates
fmt_datetime Format values as date-times
fmt_engineering Format values to engineering notation
fmt_integer Format values as integers
fmt_markdown Format Markdown text
fmt_missing Format missing values
fmt_number Format numeric values
fmt_passthrough Format by simply passing data through
fmt_percent Format values as a percentage
fmt_scientific Format values to scientific notation
fmt_time Format values as times
ggplot_image Helper function for adding a ggplot
google_font Helper function for specifying a font from the Google Fonts service
grand_summary_rows Add grand summary rows using aggregation functions
gt Create a *gt* table object
gtcars Deluxe automobiles from the 2014-2017 period
gtsave Save a *gt* table as a file
gt_latex_dependencies Get the LaTeX dependencies required for a *gt* table
gt_output Create a *gt* display table output element for Shiny
gt_preview Preview a *gt* table object
html Interpret input text as HTML-formatted text
info_currencies View a table with info on supported currencies
info_date_style View a table with info on date styles
info_google_fonts View a table on recommended Google Fonts
info_locales View a table with info on supported locales
info_paletteer View a table with info on color palettes
info_time_style View a table with info on time styles
local_image Helper function for adding a local image
md Interpret input text as Markdown-formatted text
opt_align_table_header Option to align the table header
opt_all_caps Option to use all caps in select table locations
opt_css Option to add custom CSS for the table
opt_footnote_marks Option to modify the set of footnote marks
opt_row_striping Option to add or remove row striping
opt_table_font Option to define a custom font for the table
opt_table_lines Option to set table lines to different extents
opt_table_outline Option to wrap an outline around the entire table
pct Helper for providing a numeric value as percentage
pizzaplace A year of pizza sales from a pizza place
px Helper for providing a numeric value as pixels value
random_id Helper for creating a random 'id' for a *gt* table
render_gt A *gt* display table render function for use in Shiny
row_group_order Modify the ordering of any row groups
sp500 Daily S&P 500 Index data from 1950 to 2015
summary_rows Add groupwise summary rows using aggregation functions
sza Twice hourly solar zenith angles by month & latitude
tab_footnote Add a table footnote
tab_header Add a table header
tab_options Modify the table output options
tab_row_group Add a row group to a *gt* table
tab_source_note Add a source note citation
tab_spanner Add a spanner column label
tab_spanner_delim Create column labels and spanners via delimited names
tab_stubhead Add label text to the stubhead
tab_style Add custom styles to one or more cells
test_image Generate a path to a test image
text_transform Perform targeted text transformation with a function
web_image Helper function for adding an image from the web