Monday, February 20, 2023

Shiny app for San Diego coast bacterium counts with Leaflet

 I created another Shiny app. I took for it the same data from San Diego coast stations with counts of unhealthy bacteria which I already used in one of my previous posts. This time a map is interactive.


The map can be moved with a mouse, as any Google map. Using +/- sign it can be zoomed in or out.
You can see marked measuring stations. One can hover a mouse over each and see the station name and averaged amount of measured bacterium count. A bigger size of the mark corresponds to a greater bacterium level. The stations are colored by their groups. Unfortunately I do not know what the group abbreviations mean. On the left one can filter data for a particular kind of contamination, measuring method and choose a whole year or dry or wet season. Not all stations have all measurements, and it shows. The website for the app is below.

Shiny app for San Diego coast bacterium counts

Advantages of Shiny apps are the following:

1) The whole might of R can be used, which means more diverse tools.

2) There are more options (comparatively with Tableau and Power BI) over a Shiny website appearance.

3) It allows quick and easy result sharing for R developers.