tabDataset: Creates a 'tabPanel' template for a 'datatable' with a title...

View source: R/data.R

tabDatasetR Documentation

Creates a tabPanel template for a datatable with a title and description

Description

Creates a tabPanel template for a datatable with a title and description

Usage

tabDataset(
  ns,
  title,
  tableId,
  columns,
  visCols,
  data,
  description = NULL,
  icon = NULL
)

Arguments

ns

Namespace function

title

Character: tab title

tableId

Character: id of the datatable

columns

Character: column names of the datatable

visCols

Boolean: visible columns

data

Data frame: dataset of interest

description

Character: description of the table (optional)

icon

Character: list containing an item named symbol (FontAwesome icon name) and another one named colour (background colour)

Value

HTML elements


nuno-agostinho/psichomics documentation built on Feb. 11, 2024, 11:16 p.m.