Skip to content

Commit

Permalink
lab 1c, f
Browse files Browse the repository at this point in the history
minor
  • Loading branch information
monica23-c committed Apr 26, 2024
1 parent 8623006 commit f0873ad
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion unit_1/lab1c/lab1c.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ utils::data(cdc)

- Before we can perform any analysis, we have to load data into `R`.
- When we want to get our Participatory Sensing data into RStudio, we:
- <font color="green">Export</font> the data from your class' campaign page.
- <font color="green">Export</font> the data from your class's campaign page.
- <font color="green">Upload</font> data to _RStudio_ server.
- <font color="green">Import</font> the data into `R`'s working memory.

Expand Down
2 changes: 1 addition & 1 deletion unit_1/lab1c/lab1c.html
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ <h1>Export, upload, import</h1>
<code>R</code>.</li>
<li>When we want to get our Participatory Sensing data into RStudio, we:
<ul>
<li><p><font color="green">Export</font> the data from your class’
<li><p><font color="green">Export</font> the data from your class’s
campaign page.</p></li>
<li><p><font color="green">Upload</font> data to <em>RStudio</em>
server.</p></li>
Expand Down
5 changes: 3 additions & 2 deletions unit_1/lab1f/lab1f.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,9 @@ atu_cleaner <- mutate(atu_cleaner, gender =

```{r, eval = FALSE, echo = TRUE}
atu_cleaner <- mutate(atu_cleaner, gender =
recode(gender, "01" = "Male",
"02" = "Female"))
recode(gender,
"01" = "Male",
"02" = "Female"))
```

- This code is saying:
Expand Down
5 changes: 3 additions & 2 deletions unit_1/lab1f/lab1f.html
Original file line number Diff line number Diff line change
Expand Up @@ -774,8 +774,9 @@ <h1>A level by any other name…</h1>
<div id="allow-me-to-explain" class="slide section level2">
<h1>Allow me to explain</h1>
<div class="sourceCode" id="cb13"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb13-1"><a href="#cb13-1" aria-hidden="true" tabindex="-1"></a>atu_cleaner <span class="ot">&lt;-</span> <span class="fu">mutate</span>(atu_cleaner, <span class="at">gender =</span> </span>
<span id="cb13-2"><a href="#cb13-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">recode</span>(gender, <span class="st">&quot;01&quot;</span> <span class="ot">=</span> <span class="st">&quot;Male&quot;</span>, </span>
<span id="cb13-3"><a href="#cb13-3" aria-hidden="true" tabindex="-1"></a> <span class="st">&quot;02&quot;</span> <span class="ot">=</span> <span class="st">&quot;Female&quot;</span>))</span></code></pre></div>
<span id="cb13-2"><a href="#cb13-2" aria-hidden="true" tabindex="-1"></a> <span class="fu">recode</span>(gender, </span>
<span id="cb13-3"><a href="#cb13-3" aria-hidden="true" tabindex="-1"></a> <span class="st">&quot;01&quot;</span> <span class="ot">=</span> <span class="st">&quot;Male&quot;</span>, </span>
<span id="cb13-4"><a href="#cb13-4" aria-hidden="true" tabindex="-1"></a> <span class="st">&quot;02&quot;</span> <span class="ot">=</span> <span class="st">&quot;Female&quot;</span>))</span></code></pre></div>
<ul>
<li>This code is saying:
<ul>
Expand Down

0 comments on commit f0873ad

Please sign in to comment.