Bacteria is an R package that contains functions that can be used to evaluate compliance with water quality objectives for indicator bacteria (E. coli, Enterococcus, Total Coliform, and Fecal Coliform). The primary use for these functions is for the evaluation of bacteria water quality monitoring data within the jursidction of the Los Angeles Regional Water Quality Control Board.
devtools
package. This can be done using the following: install.packages("devtools")
bacteria
package with the following: devtools::install_github("chrislopez28/bacteria")
. bacteria
packageThe bact_check
function takes in a data frame of bacteria monitoring data and outputs a list of data frames (each element of the list corresponding to a unique monitoring location) that contains the results of the analysis.
df
The bact_check
requires that the initial input data frame has the following variables:
The ann_exceeds
function calculates the number of Annual Exceedance Days. The arguments for this function are the same as that of the bact_check
function.
The bact_heatmap
function creates a heatmap that summarizes compliance with bacteria water quality objectives while also providing information on sampling dates and weather conditions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.