postgresUI: Create UI elements for Postgres Shiny Module

View source: R/postgresModule.R

postgresUIR Documentation

Create UI elements for Postgres Shiny Module

Description

This function generates the UI components for the Postgres Shiny module, including a submit button, a data table, and a download button.

Usage

postgresUI(id)

Arguments

id

A character string that uniquely identifies this module instance

Value

A list containing three UI elements:

submit

An action button for submitting data to database

table

A DT output for displaying the database data

download

A download button for exporting database data to csv

Examples

shiny::fluidPage(
  postgresUI("postgres_module")$submit,
  postgresUI("postgres_module")$table,
  postgresUI("postgres_module")$download
  )

mmints documentation built on April 3, 2025, 9:33 p.m.