View source: R/postgresModule.R
postgresUI | R Documentation |
This function generates the UI components for the Postgres Shiny module, including a submit button, a data table, and a download button.
postgresUI(id)
id |
A character string that uniquely identifies this module instance |
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 |
shiny::fluidPage(
postgresUI("postgres_module")$submit,
postgresUI("postgres_module")$table,
postgresUI("postgres_module")$download
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.