gt_label_details: Add a simple table with column names and matching labels

View source: R/html-helpers.R

gt_label_detailsR Documentation

Add a simple table with column names and matching labels

Description

Add a simple table with column names and matching labels

Usage

gt_label_details(label, content, names = c("Column", "Description"))

Arguments

label

A string representing the label for the details expansion section.

content

A named list or wide data.frame with 2 rows

names

a string indicating the name of the two columns inside the details tag

Value

HTML text


gtExtras documentation built on Sept. 16, 2023, 1:08 a.m.