diff --git a/modules/Data_Output/lab/Data_Output_Lab_Key.html b/modules/Data_Output/lab/Data_Output_Lab_Key.html index 14043ac4..05cd371b 100644 --- a/modules/Data_Output/lab/Data_Output_Lab_Key.html +++ b/modules/Data_Output/lab/Data_Output_Lab_Key.html @@ -366,8 +366,18 @@

1.1

# General format
 library(readr)
 # OBJECT <- read_csv(FILE)
-
library(tidyverse)
-covid <- read_csv(file = "https://daseh.org/data/SARS-CoV-2_Wastewater_Data.csv")
+
library(tidyverse)
+
## ── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
+## ✔ dplyr     1.1.4     ✔ readr     2.1.5
+## ✔ forcats   1.0.0     ✔ stringr   1.5.1
+## ✔ ggplot2   3.5.1     ✔ tibble    3.2.1
+## ✔ lubridate 1.9.3     ✔ tidyr     1.3.1
+## ✔ purrr     1.0.2     
+## ── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
+## ✖ dplyr::filter() masks stats::filter()
+## ✖ dplyr::lag()    masks stats::lag()
+## ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
+
covid <- read_csv(file = "https://daseh.org/data/SARS-CoV-2_Wastewater_Data.csv")
## Warning: One or more parsing issues, call `problems()` on your data frame for details,
 ## e.g.:
 ##   dat <- vroom(...)
@@ -383,7 +393,7 @@ 

1.1

1.2

Filter the dataset so that the “reporting_jurisdiction” column is -equal to “Maryland” (aka the entire USA). Store the modified dataset as +equal to “Maryland”. Store the modified dataset as covid_filtered.

# General format
 NEW_OBJECT <- OBJECT %>% filter(COLUMNNAME == CRITERIA)