Winners of the 2020 RStudio Table Contest

This is a companion discussion topic for the original entry at https://blog.rstudio.com/2020/12/23/winners-of-the-2020-rstudio-table-contest


The inaugural 2020 RStudio Table Contest came to a close in mid-November and we were delighted to see that over 80 entries were submitted. With such enthusiasm for tables, it took some time to look over all of the entries but we do have a winner.

The Winner and the Runner-up

The winner is an entry by Niels van der Velden called Editable Datatables in R Shiny Using SQL. Niels provides a detailed tutorial here (along with a live example and GitHub repository). It’s a great demonstration of an interactive employee directory where a DT table is central in presenting the employee information. Shiny provides all of the interactivity and the {pool} package handles the storage of the entries with a database backend. Learn more at RStudio Community.


A close runner-up is an entry by Maya Gans (previous RStudio intern!) that presents the Table Generator Shiny extension available in the {tidyCDISC} package (live example, GitHub repository). This is a complete table-generation system where users could provide their own clinical data and make summary tables without any programming effort. The Shiny application allows for dragging pairs of columns and their summary statistic counterpart to create a {gt} table. There’s great flexibility to customize the generated tables as one could subgroup, filter, and reorder the underlying table structure. Crucially, the app supports table export to either HTML or CSV. Learn more at RStudio Community.

Honorable Mentions

There were so many great entries that we’d like to highlight as honorable mentions. All of these were either in the form of a static table or as a tutorial.

Static Tables

A large portion of the contest entries were in the form of a static (i.e., not Shiny-based) table. In quite a few cases interactive bits (e.g., sparkline plots) were interspersed in table cells, making for a delightful experience. Here are few of the tables that deserve some attention.

Beyoncé and Taylor Swift Albums, by Georgios Karamanis (live example, GitHub repository, RStudio Community)


What do I binge next? An overview of the top IMDb TV shows, by Cédric Scherer (live example, GitHub repository, RStudio Community).


2019 NFL Team Ratings, by Kyle Cuilla (live example, GitHub repository, RStudio Community).


The Big Mac Index Table, by A. Calatroni, S. Lussier & R. Krouse (live example, GitHub repository, RStudio Community).


Technology Figures of the EU, by Florian Handke (live example, GitHub repository, RStudio Community).


Imperial March, by Bill Schmid (live example and repository, RStudio Community).

Tutorials

Sometimes in order to learn a new package or feature it helps to get a more-involved helping hand walk. Tutorials are long form articles that dive into a set of features, table-package, or multiple packages, with the goal of giving the reader a deeper understanding of how it all works.

Comparison Tutorial, by Evangeline ‘Gina’ Reynolds (tutorial, GitHub repository, RStudio Community).

Replicating a New York Times Table of Swedish COVID-19 Deaths with gt, by Malcolm Barrett (tutorial, GitHub repository, RStudio Community).

Recreating a Table by The Economist with Reactable, by Connor Rothschild (tutorial, GitHub repository, RStudio Community).

Top of the Class: Public Spending on Education, by David Smale (tutorial, GitHub repository, RStudio Community).

Table Packages

A number of submissions were essentially submissions of the author’s package, which supports creating or customizing tables in some way. In fact, the grand prize and runner up are both examples of this! Below are additional honorable mention entries of these table-package submissions.

DataEditR: Interactive Editor for Viewing, Filtering, Entering & Editing Data, by Dillon Hammill (GitHub repository, RStudio Community).

A Not So Short Introduction to rtables, by Gabriel Becker, Adrian Waddell (post, GitHub repository, RStudio Community).

In Closing

We want to thank you all for making this Table Contest so great. It is incredibly hard to judge submissions with such an overall high level of quality. We fully acknowledge that there are many other really great entries we did not highlight in this article. We encourage you to check out all of the entries at RStudio Community.

There were so many great submissions that our growing R Markdown team is considering hosting a tables gallery with examples that others can learn from or use as launching pad for their own display tables. If you are interested in seeing that becoming a reality, we’d love to hear from you!