Example Data Vignette

knitr::opts_chunk$set(Warning = FALSE, message = FALSE, echo = FALSE)

Example data

This data is only meant to be used in vignettes or testing. To view the full data use: data(WasteWater_data, package = "Covid19Wastewater")

This data comes from our wastewater and case data merged together by site and date. Then filtered with by 3 sites; Green Bay, Janesville, and Mauston. Then a new column is added; geo_mean which is the geometric mean of N1 and N2. This gives roughly 500 rows to work with for examples across different sized sites over a large time frame.

library(Covid19Wastewater)
library(dplyr)
library(ggplot2)

This columns are all the same as the wastewater data. https://github.com/UW-Madison-DSI/Covid19Wastewater/blob/main/docs/data/data_columns_discription.md

data(Example_data, package = "Covid19Wastewater")
head(Example_data)%>%
  select(date:PMMoV)%>%
  head()%>%
  knitr::kable()

head(Example_data)%>%
  select(flow:geo_mean)%>%
  head()%>%
  knitr::kable()
ggplot(Example_data, aes(x=date, y=geo_mean, color = site)) +
  geom_point()


Try the Covid19Wastewater package in your browser

Any scripts or data that you put into this service are public.

Covid19Wastewater documentation built on Aug. 25, 2023, 1:07 a.m.