What the book will port

Every source the book plans to port, page by page, with the release of tabelline that can port it. Sources go from the simplest to the most complex, and so do their pages: first the ones that can be ported now, then the ones that wait for a release. The first page has the sources in one table.

How the pages are found: each source says where its pages are, a GitHub repository and the paths of its pages, and book/plan/plan.nim lists the repository, so a page added there shows up here (marked To triage until someone reads it), and a page that is gone is reported. The Table Contest entries are listed by hand, one repository each, and their code is read whole; saving the table as a picture (gtsave) does not count.

How it is measured: book/plan/plan.nim reads each page's code, finds the gt and Great Tables functions it calls, and looks each one up in the feature map, where every gt feature has its status and the release it is planned for. A page can be ported in the first release that has every feature it calls. It is a first sieve: it sees the functions, not their arguments, so a page that can be ported "now" can still find gaps when it is ported, as the Get Started guide found a dozen. Those go to What the port found and to the build of the next release.

Great Tables: Get Started

The first guide of Great Tables: the parts of a table, formats, styles, themes, selections. By Rich Iannone, Michael Chow and the Great Tables contributors (Posit), MIT licence. Read it.

PageCan be portedWhat it waits for
Column LabelsPorted
Formatting ValuesPorted
Header and FooterPorted
Stub (Row Labels)Ported
Styling the Table BodyPorted
Colorizing with DataPorted
Column SelectionPorted
Contributing Guidelines
How to contribute to Great Tables
Left out
Extending Great Tables
About extending Great Tables in Python
Left out
IntroPorted
Location selectionPorted
NanoplotsPorted
OverviewPorted
Row SelectionPorted
Table Theme OptionsPorted
Premade ThemesPorted
Styling the whole tablePorted
Technical notes
Notes on Great Tables' own data structures
Left out

gt: Introduction to Creating gt Tables

gt's own first guide, the R side of the same ideas. By Richard Iannone and the gt authors (Posit), MIT licence. Read it.

PageCan be portedWhat it waits for
Introduction to Creating gt TablesNow

Great Tables blog

One post per release and one per idea: each a few tables, with the story of why. By Rich Iannone, Michael Chow, Jules Walzer-Goldfeld and others (Posit), MIT licence. Read it.

PageCan be portedWhat it waits for
Great Tables is now BYODF (Bring Your Own DataFrame)
About Python's data frame libraries: the book tells what tabelline reads instead
Now
The Design Philosophy of Great Tables
In this book
Ported
Great Tables v0.12.0: Google Fonts and zebra stripes
In this book
Ported
Great Tables v0.13.0: Applying styles to all table locations
In this book
Ported
Great Tables v0.15.0: Flags, Icons, and Other Formatting Goodies
In this book
Ported
Great Tables v0.18.0: Easy Column Spanners and More!
In this book
Ported
Great Tables v0.2.0: Easy Data Coloring
In this book
Ported
Great Tables v0.3.0: So Many Style Options!
In this book
Ported
Great Tables v0.4.0: Nanoplots and More
In this book
Ported
Introducing Great Tables
In this book
Ported
Great Tables + marimo = Interactive Tables
About marimo: for when tabelline runs in Python notebooks
Now
Contributing to Public Transit Data Analysis and ToolingNow
Adding Plots to Great Tables
The plots come from plotnine and ggplot: in Nim, from a Nim plotting library
Now
How We Used Great Tables to Supercharge Reporting in Pointblank
About Pointblank's reports: the tables are ported
Now
Great Tables: Becoming the Polars .style Property
About Polars: the tables are ported, the Polars side is told in Nim
Now
Great Tables: The Polars DataFrame Styler of Your Dreams
About Polars: the tables are ported, the Polars side is told in Nim
Now
PyCon 2024: Making Beautiful, Publication Quality Tables is Possible in 2024Now
Rendering images anywhere in Great TablesNow
Recreating Septa Transit Timetables in Python
In this book
Ported
Using Polars to Win at Super Bowl Squares
In this book
Ported
Great Tables for Scientific Publishing
In this book
Ported
Style Table Body with mask= in loc.body()A new gapA new gap: A condition for each cell, loc.body(mask = ...)
Great Tables: Generating LaTeX Output for PDFLaterLater: LaTeX

Great Tables examples

A gallery of finished tables, each with its code. By The Great Tables contributors (Posit), MIT licence. Read it.

PageCan be portedWhat it waits for
ExamplesNow
Sports earningsNow
Gini coefficient (with gt-extras)LaterLater: Plots, icons and themes from gt-extras

gt: case studies and articles

Long tables built step by step: cars, clinical trials, summary lines, gt's datasets. By Richard Iannone and the gt authors (Posit), MIT licence. Read it.

PageCan be portedWhat it waits for
Case Study: Clinical Tables
In this book
Ported
Case Study: gtcars
In this book
Ported
Creating Summary Lines
In this book
Ported
gt DatasetsNow
gt interactive tables
Interactive tables are tabellone, a later idea
LaterLater: Interactive tables
gt visual tests
gt's tests of its renderers side by side, not a guide
Left outLater: Interactive tables

gt-extras

Plots, icons and themes in cells, for Great Tables. By Jules Walzer-Goldfeld and the gt-extras contributors, MIT licence. Read it.

PageCan be portedWhat it waits for
Examples
The tables of Examples With Code, without the code
Left out
An NFL seasonNow
Get Started
Empty for now
Left out
IntroductionLaterLater: Plots, icons and themes from gt-extras
Examples With CodeLaterLater: Plots, icons and themes from gt-extras

gtExtras

The R original of gt-extras: sparklines, bars, themes. By Thomas Mock, MIT licence. Read it.

PageCan be portedWhat it waits for
Plotting with gtExtrasLaterLater: Plots, icons and themes from gt-extras

Posit Table Contest entries

Tables made to win, one entry at a time, from 2020 to 2025: every entry with its code on GitHub (book/plan/contest.nim collects them from Posit Community and the winners posts). An entry with no licence is an idea to redo, not code to port. By Each entrant, per entry licence. Read it.

Its 194 entries with code on GitHub, and which of them tabelline can redo, are in The Table Contest.

Great Tables API reference examples

The examples on the reference page of every Great Tables method and helper, from their docstrings. By Rich Iannone, Michael Chow and the Great Tables contributors (Posit), MIT licence. Read it.

Its 104 pages with examples, one per function, are found by the features they show, in Find an example by feature.

gt reference examples

The examples on the help page of every gt function, small and one feature at a time: ported with each feature as it lands, in the specs. By The gt authors (Posit), MIT licence. Read it.

Its 173 pages with examples, one per function, are found by the features they show, in Find an example by feature.

Not yet mapped

Sources the book wants to port too, once their pages are listed and their licence allows it.

SourceWhat it has
pandas Styler user guide
BSD-3-Clause licence
Styling a data frame in pandas: the same tables seen from the data frame
gtsummary
MIT licence
Summary and regression tables on top of gt: needs statistics, not only tables
reactable
MIT licence
Interactive tables: for tabellone, the grid idea
import tabbook, sources
bookInit()

nbText: """
# What the book will port

Every source the book plans to port, page by page, with the release of tabelline that can
port it. Sources go from the simplest to the most complex, and so do their pages: first the
ones that can be ported now, then the ones that wait for a release. The
[first page](index.html) has the sources in one table.

How the pages are found: each source says where its pages are, a GitHub repository and the
paths of its pages, and `book/plan/plan.nim` lists the repository, so a page added there shows
up here (marked *To triage* until someone reads it), and a page that is gone is reported. The
Table Contest entries are listed by hand, one repository each, and their code is read whole;
saving the table as a picture (`gtsave`) does not count.

How it is measured: `book/plan/plan.nim` reads each page's code, finds the gt and Great Tables
functions it calls, and looks each one up in the
[feature map](https://pietroppeter.github.io/tabelline/coverage/), where every gt feature
has its status and the release it is planned for. A page can be ported in the first release
that has every feature it calls. It is a first sieve: it sees the functions, not their
arguments, so a page that can be ported "now" can still find gaps when it is ported, as the
*Get Started* guide found a dozen. Those go to [What the port found](gaps.html) and to the
build of the next release.
"""

for s in sources["sources"]:
  let id = s["id"].getStr
  var text = "## " & s["title"].getStr & "\n\n" & s["what"].getStr & ". By " & s["by"].getStr &
    ", " & s["licence"].getStr & " licence. [Read it](" & s["url"].getStr & ")."
  if s.isContest:
    # a few hundred entries: they have a page of their own
    text.add "\n\nIts " & $pagesOf(id).len & " entries with code on GitHub, and which of them " &
      "tabelline can redo, are in [The Table Contest](contest.html)."
  elif s.isReference:
    # a help page per function: too many for a table here, so they are found by feature
    text.add "\n\nIts " & $pagesOf(id).len & " pages with examples, one per function, are found " &
      "by the features they show, in [Find an example by feature](features.html)."
  nbText: text
  if not s.isReference and not s.isContest:
    nbTable pagesTable(id, ported = s["status"].getStr == "ported")

nbText: """
## Not yet mapped

Sources the book wants to port too, once their pages are listed and their licence allows it.
"""
nbTable candidatesTable()

bookSave()
Made with tabelline, nimib and nimibook. The Nim code ran when this page was built; the Python ran with Great Tables 1.1.0 and the R with gt 1.4.0.