Practice Activity Week 7
This week we’re going to explore an interactive dashboard made by a previous STAT 541 student! Nicholas Soares works for the Morro Bay National Estuary Program, and created this “State of the Bay” dashboard:
https://mbnep-state-of-the-bay.shinyapps.io/data_dashboard/
We’re going to explore how interactivity is used throughout the dashboard, so we recommend you have both the source file and the public dashboard opened up!
Accessing the Practice Activity
Download the materials for the activity here: pa-7.zip
This .zip folder contains:
- the Quarto file (
pa-7.qmd) - the source file for creating the interactive dashboard (
morro-bay-estuary-dash.qmd)
Be sure to save the files inside your Week 7 folder of your STAT 431 (or 541) folder!
Overview
In the word cloud card, where do the options for “Pick your favorite:” come from?
What function is used to update the word cloud based on the option input by the user?
Creek Health
Where is the
creek_analyteinput object used? Specifically, how is this object used?What font family are the labels for the creek segments?
Where is information for the creek segment clicked on in the
leafletmap stored?
Bacteria
What function was used to add a message about the transformations above the buttons for “Select Transformation”?
What values do the radio buttons take on?
Are are the plotting data adjusted based on the radio button that is selected?
Phytoplankton
What function is used to allow the user to select the dates that should be visualized in the plot?
How are these dates stored? Specifically, are they stored individually? As a vector of inputs? As a list?
Shore Birds
Which two zones produce two composition plots (an individual plot and a combined plot) when clicked on?
What color palette is used for the filled barplot?
Bay Fish
The
"Bay pipefish"is in a different position depending on the habitat that was selected (i.e., it is third forShoreline, second to last forTidal Flat, and third to last forOpen Channel). How does the ordering of the fish species change based on the habitat input?What color palette is used for the filled barplot?