This package implements Phase 1 of the Decision Tree Framework, the climate screening worksheet, as a Shiny module.
To use, install with devtools:
if(!require("devtools")) {
install.packages("devtools")
}
devtools::install_github("tbadams45/dtphase1")
Then use the phase1UI
and phase1
functions within your ui.R and server.R functions as outlined in the introduction to shiny modules.
library(shiny)
library(dtphase1)
ui <- fluidPage(
phase1UI("p1")
)
server <- function(input, output, session) {
callModule(phase1, "p1")
}
shinyApp(ui = ui, server = server)
If you'd like to see this package in action alongside each of the other three phases in the Decision Tree Framework, go here.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.