addEditUI: Add database entry button: UI function

Description Usage Arguments Value See Also Examples

View source: R/addEditModules.R

Description

This function and addEdit are used in conjunction to add the UI and server elements necessary to add a row to a given table in a database

Usage

1

Arguments

id

character name for the namespace of the module

Value

A shiny actionButton which opens a modal to allow user to input data to be added to a database

See Also

addEdit

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
if (interactive()) {
  library(shiny)
  ui <- fluidPage(
    addEditUI("data")
  )

  server <- function(input, output, session) {

  }

  shinyApp(ui, server)
}

JamesCuster/CARTMod documentation built on March 8, 2020, 5:57 a.m.