BennettForville / Bshiny2

0 stars 3 forks source link

Notes from Friday 3/18 meeting #2

Closed bpbond closed 1 year ago

bpbond commented 2 years ago

Hi @BennettForville - to recap, in our meeting with @leeyap we decided for the next week to

At beginning:

scenario_choices <- c("SSP15 (green hippie world)", 
                      "SSP245 (middle of the road)", 
                      "SSP88 (Armageddon)")

SSP_files <- c("input/hector_ssp15.ini", 
                 "input/hector_ssp245.ini",
                 "input/hector_ssp88.ini")
names(SSP_files) <- scenario_choices

[Radio button code.]

And then in renderPlot:

    SSP_file <- SSP_choices[input$SSP]
    SSP_file <- system.file(SSP_file, package = "hector")
    core <- newcore(SSP_file)

Finally, feel free to play around with jazzing up your interface!

bpbond commented 2 years ago

P.S. don't forget to commit! 😄