Skip to content

Commit

Permalink
Render site
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Oct 23, 2024
1 parent c341256 commit 9a2a815
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions help.html
Original file line number Diff line number Diff line change
Expand Up @@ -353,14 +353,14 @@ <h2><strong>Why are my changes not taking effect? It’s making my results look
<p>Here we are creating a new object from an existing one:</p>
<pre class="r"><code>new_rivers &lt;- sample(rivers, 5)
new_rivers</code></pre>
<pre><code>## [1] 618 720 625 425 1270</code></pre>
<pre><code>## [1] 890 392 315 411 460</code></pre>
<p>Using just this will only print the result and not actually change <code>new_rivers</code>:</p>
<pre class="r"><code>new_rivers + 1</code></pre>
<pre><code>## [1] 619 721 626 426 1271</code></pre>
<pre><code>## [1] 891 393 316 412 461</code></pre>
<p>If we want to modify <code>new_rivers</code> and save that modified version, then we need to reassign <code>new_rivers</code> like so:</p>
<pre class="r"><code>new_rivers &lt;- new_rivers + 1
new_rivers</code></pre>
<pre><code>## [1] 619 721 626 426 1271</code></pre>
<pre><code>## [1] 891 393 316 412 461</code></pre>
<p>If we forget to reassign this can cause subsequent steps to not work as expected because we will not be working with the data that has been modified.</p>
<hr />
</div>
Expand Down Expand Up @@ -409,7 +409,7 @@ <h2><strong>Error: object ‘X’ not found</strong></h2>
<p>Make sure you run something like this, with the <code>&lt;-</code> operator:</p>
<pre class="r"><code>rivers2 &lt;- new_rivers + 1
rivers2</code></pre>
<pre><code>## [1] 620 722 627 427 1272</code></pre>
<pre><code>## [1] 892 394 317 413 462</code></pre>
<hr />
</div>
<div id="error-unexpected-in-error-unexpected-in-error-unexpected-x-in" class="section level2">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ <h2>Testimonials from our other courses:</h2>
<h2>Find an Error!?</h2>
<hr />
<p>Feel free to submit typos/errors/etc via the GitHub repository associated with the class: <a href="https://github.com/fhdsl/DaSEH" class="uri">https://github.com/fhdsl/DaSEH</a></p>
<p>This page was last updated on 2024-10-10.</p>
<p>This page was last updated on 2024-10-23.</p>
<p style="text-align:center;">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://live.staticflickr.com/4557/26350808799_6f9c8bcaa2_b.jpg" height="150"/> </a>
</p>
Expand Down
4 changes: 3 additions & 1 deletion materials_schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,9 @@ <h2>Online Schedule + Materials</h2>
<h2>In-person Code-a-thon Schedule + Materials</h2>
<ul>
<li><a href="https://docs.google.com/document/d/1ZD-w0vc3Vtv1vf95h6323zaaxORg9vC7Hp4I_IUeW0I/edit?usp=sharing">Schedule</a></li>
<li><a href="https://drive.google.com/drive/folders/1dd0refHBdOHQuMW2ITWsVtIZ1QyhEbgY?usp=sharing">Instructor Slides</a> <!-- - [Lightning Talk Upload Folder](https://drive.google.com/drive/folders/1It8HqAyXGY8NpDU6iVxswMeZCth8kHI5?usp=sharing) --></li>
<li><a href="https://drive.google.com/drive/folders/18LZlTF-iGwM6kZvFGeoFq1wFmIvOyCYQ?usp=sharing">Instructor Slides</a></li>
<li>Mapping module <a href="resources/Mapping.html">HTML</a>, <a href="resources/Mapping.pdf">PDF</a>, <a href="resources/Mapping.Rmd">Rmd</a></li>
<li><a href="https://drive.google.com/drive/folders/1YyWArRRKWJ8it6fx9emgqT6S_WsVJLJM?usp=sharing">Lightning Talk Upload Folder</a></li>
<li><a href="modules/Project_Template/Project_Template.Rmd">Project Template</a></li>
<li><a href="modules/Project_Example/Project_Example.Rmd">Project Example</a></li>
<li><a href="modules/Project_Example/Project_Example.html">Project Example (rendered)</a></li>
Expand Down
8 changes: 4 additions & 4 deletions modules/Functions/Functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ <h1 data-config-title><!-- populated from slide_config.json --></h1>
na_count = sum(is.na({{col_name}})))
}</pre>

</article></slide><slide class=""><hgroup><h2>Functions for tibbles - example</h2></hgroup><article class="codesmall" id="functions-for-tibbles---example">
</article></slide><slide class=""><hgroup><h2>Functions for tibbles - example</h2></hgroup><article id="functions-for-tibbles---example" class="codesmall">

<pre class = 'prettyprint lang-r'>er &lt;- read_csv(file = &quot;https://daseh.org/data/CO_ER_heat_visits.csv&quot;)</pre>

Expand Down Expand Up @@ -599,7 +599,7 @@ <h1 data-config-title><!-- populated from slide_config.json --></h1>
11 2021 1.30 2.92
12 2022 1.93 4.71</pre>

</article></slide><slide class=""><hgroup><h2>Applying functions with <code>across</code> from <code>dplyr</code></h2></hgroup><article class="smaller" id="applying-functions-with-across-from-dplyr-5">
</article></slide><slide class=""><hgroup><h2>Applying functions with <code>across</code> from <code>dplyr</code></h2></hgroup><article id="applying-functions-with-across-from-dplyr-5" class="smaller">

<p>Combining with <code>mutate()</code> - the <code>replace_na</code> function</p>

Expand Down Expand Up @@ -662,7 +662,7 @@ <h1 data-config-title><!-- populated from slide_config.json --></h1>
df_list %&gt;%
sapply(function(x) select(x, where(is.numeric)))</pre>

</article></slide><slide class=""><hgroup><h2>Multiple data frames: <code>sapply</code></h2></hgroup><article class="smaller" id="multiple-data-frames-sapply">
</article></slide><slide class=""><hgroup><h2>Multiple data frames: <code>sapply</code></h2></hgroup><article id="multiple-data-frames-sapply" class="smaller">

<pre class = 'prettyprint lang-r'>df_list %&gt;% sapply(nrow)</pre>

Expand Down Expand Up @@ -774,7 +774,7 @@ <h1 data-config-title><!-- populated from slide_config.json --></h1>

<p>📃 <a href='https://daseh.org/modules/cheatsheets/Day-9.pdf' title=''>Day 9 Cheatsheet</a></p>

<p>📃 <a href='https://rstudio.github.io/cheatsheets/purrr.pdf' title=''>Posit’s purrr Cheatsheet</a></p>
<p>📃 <a href='https://rstudio.github.io/cheatsheets/purrr.pdf' title=''>Posit’s <code>purrr</code> Cheatsheet</a></p>

</article></slide><slide class=""><hgroup><h2>Research Survey</h2></hgroup><article id="research-survey">

Expand Down

0 comments on commit 9a2a815

Please sign in to comment.