Skip to content

Commit

Permalink
Render key
Browse files Browse the repository at this point in the history
  • Loading branch information
avahoffman committed Jul 17, 2024
1 parent 4d250fe commit 50189f2
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions modules/Data_Output/lab/Data_Output_Lab_Key.html
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +366,18 @@ <h3>1.1</h3>
<pre><code># General format
library(readr)
# OBJECT &lt;- read_csv(FILE)</code></pre>
<pre class="r"><code>library(tidyverse)
covid &lt;- read_csv(file = &quot;https://daseh.org/data/SARS-CoV-2_Wastewater_Data.csv&quot;)</code></pre>
<pre class="r"><code>library(tidyverse)</code></pre>
<pre><code>## ── 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 (&lt;http://conflicted.r-lib.org/&gt;) to force all conflicts to become errors</code></pre>
<pre class="r"><code>covid &lt;- read_csv(file = &quot;https://daseh.org/data/SARS-CoV-2_Wastewater_Data.csv&quot;)</code></pre>
<pre><code>## Warning: One or more parsing issues, call `problems()` on your data frame for details,
## e.g.:
## dat &lt;- vroom(...)
Expand All @@ -383,7 +393,7 @@ <h3>1.1</h3>
<div id="section-1" class="section level3">
<h3>1.2</h3>
<p>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
<code>covid_filtered</code>.</p>
<pre><code># General format
NEW_OBJECT &lt;- OBJECT %&gt;% filter(COLUMNNAME == CRITERIA)</code></pre>
Expand Down

0 comments on commit 50189f2

Please sign in to comment.