Skip to content

Commit

Permalink
Merge pull request #55 from fhdsl/season4
Browse files Browse the repository at this point in the history
Season4 test with GHA copy slides
  • Loading branch information
laderast authored Sep 20, 2024
2 parents 9930f18 + 76298c2 commit 0a9a3e3
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
7 changes: 7 additions & 0 deletions 02-data-structures.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

In our second lesson, we start to look at two **data structures**, **vectors** and **dataframes**, that can handle a large amount of data.

## Slides

```{r}
knitr::include_url("https://hutchdatascience.com/Intro_to_R/slides/lesson1_slides.html")
```


## Vectors

In the first exercise, you started to explore **data structures**, which store information about data types. You played around with **vectors**, which is a ordered collection of a data type. Each *element* of a vector contains a data type, and there is no limit on how big a vector can be, as long the memory use of it is within the computer's memory (RAM).
Expand Down
2 changes: 1 addition & 1 deletion index.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ tladera2@fredhutch.org
**Preferred Method of Contact**: Email/Slack
**Expected Response Time**: 24hrs

I've been teaching R for over 10 years, and have been an active user and data scientist for over 20. I write a lot, including on Data Science, Mental Health, and Bioinformatics.
I've been teaching R for over 10 years, and have been an active user of R, a bioinformatician, and data scientist for over 20. I write a lot, including on Data Science, Mental Health, and Bioinformatics.

I'm always excited to see my learners surpass me, and if you are curious enough, I guarantee you will.

Expand Down
3 changes: 2 additions & 1 deletion render_slides.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ map(slides_top, quarto::quarto_render)

all_files <- list.files(".", "lesson")
file.copy(all_files, "slides", overwrite = TRUE)

file.copy(all_files, "docs", overwrite=TRUE)
file.remove(all_files)

7 changes: 1 addition & 6 deletions slides/lesson1_slides.html
Original file line number Diff line number Diff line change
Expand Up @@ -1290,11 +1290,6 @@ <h2>Culture of the course</h2>
<h2>Format of the course</h2>
<div class="fragment">
<ul>
<li>6 classes: April 17, 24, May 1, 8, 15, 22</li>
</ul>
</div>
<div class="fragment">
<ul>
<li>Streamed online, recordings will be available.</li>
</ul>
</div>
Expand Down Expand Up @@ -1457,7 +1452,7 @@ <h2>Function machine from algebra class</h2>
<p><img role="img" aria-label="Function machine from algebra class." data-src="data:text/html; charset=iso-8859-1;charset=utf-8,%3C%21DOCTYPE%20HTML%20PUBLIC%20%22%2D%2F%2FIETF%2F%2FDTD%20HTML%202%2E0%2F%2FEN%22%3E%0A%3Chtml%3E%3Chead%3E%0A%3Ctitle%3E404%20Not%20Found%3C%2Ftitle%3E%0A%3C%2Fhead%3E%3Cbody%3E%0A%3Ch1%3ENot%20Found%3C%2Fh1%3E%0A%3Cp%3EThe%20requested%20URL%20was%20not%20found%20on%20this%20server%2E%3C%2Fp%3E%0A%3C%2Fbody%3E%3C%2Fhtml%3E%0A" alt="Function machine from algebra class." width="300"></p>
</div>
<div class="fragment">
<p>Operations are just functions. We could have written:</p>
<p>Operations are functions. We could have written:</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb11"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb11-1"><a href></a><span class="fu">sum</span>(<span class="dv">18</span>, <span class="dv">21</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion slides/lesson4_slides.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion slides/lesson5_slides.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion slides/lesson6_slides.html

Large diffs are not rendered by default.

0 comments on commit 0a9a3e3

Please sign in to comment.