background picture with networks
Module 3 | Lesson 1

Clean tables

Tables serve as a robust means of presenting information.

With R, there are numerous approaches to crafting tables, each offering unique advantages. Here are my two preferred methods for incorporating tables into Quarto documents.

Members only
3 minutes read

1️⃣ Interactive tables with DT

Here is one of my go-to techniques when showcasing Quarto 😍.

With just two extra lines of code, you can unveil an interactive table that allows:

This feature is incredibly handy to display your input dataset if it isn't too big. It offers readers the convenience of accessing the data directly within your report.

The magic behind this functionality lies in the DT library. DT stands for DataTables: the JavaScript library behind it.

Installing it is a breeze:

install.packages("DT")
background picture with networks
Productive R Workflow

This lesson is for members only! 😔
Become a member now to access the full course with a lifetime access!

Or Login

← Previous

5 more little tips

Next →

Interactive charts