Skip to content

Commit

Permalink
Merge pull request #84 from epicentre-msf/83-add-solution-code
Browse files Browse the repository at this point in the history
solutions
  • Loading branch information
ceisenhauer authored Jan 13, 2025
2 parents 4a8dec0 + e4becfa commit cc03c6a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
6 changes: 3 additions & 3 deletions docs/explore.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h1 class="title">Explore</h1>

<div class="quarto-listing quarto-listing-container-grid" id="listing-listing">
<div class="list grid quarto-listing-cols-3">
<div class="g-col-1" data-index="0" data-categories="Q29yZSUyQ1IlMjBCYXNpY3MlMkNEYXRhJTIwVHlwZXM=" data-listing-date-sort="1736525626000" data-listing-file-modified-sort="1736525626186" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="24" data-listing-word-count-sort="4736">
<div class="g-col-1" data-index="0" data-categories="Q29yZSUyQ1IlMjBCYXNpY3MlMkNEYXRhJTIwVHlwZXM=" data-listing-date-sort="1736776849000" data-listing-file-modified-sort="1736776849576" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="24" data-listing-word-count-sort="4739">
<a href="./sessions_core/01_introduction.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="img/core/01_introduction/01_rstudio_interface_en.png" style="height: 150px;" class="thumbnail-image card-img"/></p>
Expand All @@ -244,14 +244,14 @@ <h5 class="no-anchor card-title listing-title">

</div>
<div class="listing-date">
Jan 10, 2025
Jan 13, 2025
</div>
</div>
</div>
</div>
</a>
</div>
<div class="g-col-1" data-index="1" data-categories="Q29yZQ==" data-listing-date-sort="1736773000000" data-listing-file-modified-sort="1736773000792" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="3" data-listing-word-count-sort="543">
<div class="g-col-1" data-index="1" data-categories="Q29yZQ==" data-listing-date-sort="1736773165000" data-listing-file-modified-sort="1736773165328" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="3" data-listing-word-count-sort="543">
<a href="./sessions_core/template.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
Expand Down
4 changes: 2 additions & 2 deletions docs/pathway.html
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ <h1 class="title">Pathway</h1>

<div class="quarto-listing quarto-listing-container-default" id="listing-articles-links">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="Q29yZSUyQ1IlMjBCYXNpY3MlMkNEYXRhJTIwVHlwZXM=" data-listing-date-sort="1736525626000" data-listing-file-modified-sort="1736525626186" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="24" data-listing-word-count-sort="4736">
<div class="quarto-post image-right" data-index="0" data-categories="Q29yZSUyQ1IlMjBCYXNpY3MlMkNEYXRhJTIwVHlwZXM=" data-listing-date-sort="1736776849000" data-listing-file-modified-sort="1736776849576" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="24" data-listing-word-count-sort="4739">
<div class="thumbnail">
<p><a href="./sessions_core/01_introduction.html" class="no-external"></a></p><a href="./sessions_core/01_introduction.html" class="no-external">
<p class="card-img-top"><img src="img/core/01_introduction/01_rstudio_interface_en.png" class="thumbnail-image card-img"/></p>
Expand All @@ -238,7 +238,7 @@ <h3 class="no-anchor listing-title">
<div class="metadata">
<a href="./sessions_core/01_introduction.html" class="no-external">
<div class="listing-date">
Jan 10, 2025
Jan 13, 2025
</div>
</a>
</div>
Expand Down
6 changes: 3 additions & 3 deletions docs/search.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"href": "pathway.html",
"title": "Pathway",
"section": "",
"text": "These sessions can be followed in order to get a baseline level in R. The series assumes no prior experience in R and is suitable for beginners.\nLooking for more? Want more flexibility? Consider browsing the full session catalog.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIntroduction to R\n\n\n\n\n\nYour first steps in R. Learn your way around Rstudio, and meet some common R objects.\n\n\n\n\n\nJan 10, 2025\n\n\n\n\n\n\nNo matching items"
"text": "These sessions can be followed in order to get a baseline level in R. The series assumes no prior experience in R and is suitable for beginners.\nLooking for more? Want more flexibility? Consider browsing the full session catalog.\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nIntroduction to R\n\n\n\n\n\nYour first steps in R. Learn your way around Rstudio, and meet some common R objects.\n\n\n\n\n\nJan 13, 2025\n\n\n\n\n\n\nNo matching items"
},
{
"objectID": "about.html#hey-there",
Expand Down Expand Up @@ -102,7 +102,7 @@
"href": "sessions_core/01_introduction.html#the-end",
"title": "Introduction to R",
"section": "The End!",
"text": "The End!\nThat’s all for this session, congratulations on taking your first steps in R and RStudio!"
"text": "The End!\nThat’s all for this session, congratulations on taking your first steps in R and RStudio!\nSolutions: code on github"
},
{
"objectID": "sessions_core/template.html",
Expand Down Expand Up @@ -158,7 +158,7 @@
"href": "explore.html",
"title": "Explore",
"section": "",
"text": "Choose your own adventure by browsing all available sessions.\n\n\n\n\n\n\n\n\n\n\n\n\nIntroduction to R\n\n\n\nCore\n\n\nR Basics\n\n\nData Types\n\n\n\nYour first steps in R. Learn your way around Rstudio, and meet some common R objects.\n\n\n\n\n\n\nJan 10, 2025\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSession Title\n\n\n\nCore\n\n\n\nShort description (appears on cards in pathway / explore pages)\n\n\n\n\n\n\nJan 13, 2025\n\n\n\n\n\n\n\n\nNo matching items"
"text": "Choose your own adventure by browsing all available sessions.\n\n\n\n\n\n\n\n\n\n\n\n\nIntroduction to R\n\n\n\nCore\n\n\nR Basics\n\n\nData Types\n\n\n\nYour first steps in R. Learn your way around Rstudio, and meet some common R objects.\n\n\n\n\n\n\nJan 13, 2025\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nSession Title\n\n\n\nCore\n\n\n\nShort description (appears on cards in pathway / explore pages)\n\n\n\n\n\n\nJan 13, 2025\n\n\n\n\n\n\n\n\nNo matching items"
},
{
"objectID": "index.html",
Expand Down
5 changes: 3 additions & 2 deletions docs/sessions_core/01_introduction.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="dcterms.date" content="2025-01-10">
<meta name="dcterms.date" content="2025-01-13">
<meta name="description" content="Your first steps in R. Learn your way around Rstudio, and meet some common R objects.">

<title>Introduction to R – {repicentre}</title>
Expand Down Expand Up @@ -218,7 +218,7 @@ <h1 class="title">Introduction to R</h1>
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">January 10, 2025</p>
<p class="date">January 13, 2025</p>
</div>
</div>

Expand Down Expand Up @@ -917,6 +917,7 @@ <h2 class="anchored" data-anchor-id="sec-functions">Functions</h2>
<section id="the-end" class="level2">
<h2 class="anchored" data-anchor-id="the-end">The End!</h2>
<p>That’s all for this session, congratulations on taking your first steps in R and RStudio!</p>
<p><strong>Solutions:</strong> <a href="https://github.com/epicentre-msf/repicentre/blob/main/sessions_core/01_introduction_solutions.R">code on github</a></p>


</section>
Expand Down
2 changes: 2 additions & 0 deletions sessions_core/01_introduction.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -688,3 +688,5 @@ mean(TRUE, cases) # not what you expect
## The End!

That's all for this session, congratulations on taking your first steps in R and RStudio!

**Solutions:** [code on github](https://github.com/epicentre-msf/repicentre/blob/main/sessions_core/01_introduction_solutions.R)

0 comments on commit cc03c6a

Please sign in to comment.