Skip to content

Commit

Permalink
add Bali Snapper case study
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianHordyk committed May 17, 2024
1 parent 2747024 commit e69c0fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Binary file not shown.
6 changes: 5 additions & 1 deletion inst/shiny_apps/FPAT/load.R
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ Load_UI <- function(id, label="Load") {
fluidRow(
column(4,
tipify(placement ='top',
selectInput(ns("Select"),choices=c("Costa Rica - Multi-species"),label=NULL, width='250px'),
selectInput(ns("Select"),choices=c('Bali Red Snapper',
"Costa Rica - Multi-species"),label=NULL, width='250px'),
title='Select an existing FPAT case study')
),
column(6,
Expand All @@ -53,6 +54,9 @@ Load_Server <- function(id, Info, Toggles) {
if(input$Select=="Costa Rica - Multi-species")
Info$file <- list(datapath = "./Data/Casestudies/Demo_1.xlsx")

if(input$Select=='Bali Red Snapper')
Info$file <- list(datapath = "./Data/Casestudies/Bali_Red_Snapper.xlsx")

AM(Info$file)
fetchOM(Info, Toggles, session)

Expand Down

0 comments on commit e69c0fa

Please sign in to comment.