Skip to contents

Map Fecal Indicator Bacteria (FIB) results by month, year, and location

Usage

show_fibmap(fibdata, yrsel, mosel, areasel = NULL)

Arguments

fibdata

input FIB data.frame as returned by read_importfib

yrsel

optional numeric value to filter output by years in fibdata

mosel

optional numeric value to filter output by month in fibdata

areasel

optional character string to filter output by stations in the area column of fibdata, see details

Value

A leaflet map for the selected year, month, and area showing stations and FIB concentration category

Details

Placing the mouse cursor over an item on the map will reveal additional information about a station.

See also

anlz_fibmap for details on the categories

Examples

# show selected year, month
show_fibmap(fibdata, yrsel = 2023, mosel = 8)
# show selected year, month, and area show_fibmap(fibdata, yrsel = 2020, mosel = 7, areasel = 'Alafia River')