knitr::opts_chunk$set(Warning = FALSE, message = FALSE, echo = FALSE)
This vignette explains and gives examples for the population Data for Wisconsin's Wastewater treatment plants(WWTP).
library(Covid19Wastewater) library(dplyr)
The first column three columns contain location information; the region the site is in(as defined by the DHS), the county the site is in, and the WWTP site name. Next is the lab submitter, which is the lab that processed the results which can be either the State Lab of Hygine (SLH) or University of Wisconsin Milwaukee (UMW). Finally is the population of the site.Madison only data has two entries for each site one with the total Madison population and the other with the specific population for that WWTP.
data(Pop_data, package = "Covid19Wastewater") Pop_data %>% head()%>% knitr::kable()
Sometimes we split sites by population size into 3 groups:
Small(below 10,000)
Medium(between 10,000 and 100,000)
Large(Over 100,000)
population_split_by_size <- Pop_data %>% mutate(popgroup = case_when(pop >= 100000 ~ "Large", pop >= 10000 ~ "Medium", .default = "Small")) population_split_by_size %>% head()%>% knitr::kable()
To combine cities that have multiple WWTPs, you can use code similar to this:
Madison_data <- Pop_data %>% filter(grepl("Madison|MMSD", site)) Madison_data %>% head()%>% knitr::kable()
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.