# rstudio/gt

Easily generate information-rich, publication-quality tables from R

Repository: https://github.com/rstudio/gt
Canonical: https://ross.abutalabs.com/products/rstudio-gt
Homepage: https://gt.rstudio.com
Language: R
License: NOASSERTION
License Family: other
Topics: r, summary-tables, easy-to-use, docx, html, latex, rtf
Last push: 2026-08-26T01:14:08+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 43, longevity 100
- inputs: {"age_days": 3088, "days_push": 8, "days_rel": 223, "gap_med": 127.0, "n_releases_24m": 5}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2161, forks 224 (observed 2026-08-28T04:06:20.981956+00:00)

## What it is
gt is an R package for creating information-rich, publication-quality display tables from data frames or tibbles using a cohesive set of table parts (header, stub, column labels, body, footer). It renders tables to HTML, LaTeX, and RTF, and can export via gtsave() for use in R Markdown, Quarto, and other documents.

## Use cases
- create publication-quality summary tables in R
- format tables for R Markdown or Quarto reports
- export tables to HTML, LaTeX, RTF, or Word docx
- format currency, dates, percentages, and numbers in tables
- add headers, footers, and spanner column labels to tables
- make presentation-ready tables from data frames

## When to choose
- you work in R and need polished display tables for reports or publications
- you need multi-format table output (HTML, LaTeX, RTF) from one pipeline
- you want a pipe-friendly, grammar-like API for table formatting

## When to avoid
- you need interactive or sortable web tables rather than static display tables
- you are not working in R
- you need plotting/charting rather than tabular output

## Facets
- artifact type: library
- maturity: active
- function: data-visualization, templating, markdown
- domain: data-visualization, data-science, documentation, web-development
- platform: cross-platform
- tags: tables, r-package, publication-quality, html-output, latex-output, rtf-output, docx, reporting, r

## Member repositories
- rstudio/gt (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:20.981956+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:50:16.143497+00:00, confidence not recorded.
  - readme: https://github.com/rstudio/gt (fetched 2026-08-28T04:06:20.981956+00:00, sha d9be83c2fdcc)
  - homepage: https://gt.rstudio.com (fetched 2026-08-29T10:30:03.743355+00:00, sha 81db7f0fe55a)
  - site_page: https://gt.rstudio.com/news/index.html (fetched 2026-08-29T10:30:03.746064+00:00, sha 713659bd6f83)
- Data as of 2026-08-30T08:39:29.467469+00:00.
