Skip to content

Commit

Permalink
Render book, fix appendices
Browse files Browse the repository at this point in the history
  • Loading branch information
sophie-a-lee committed Jul 4, 2024
1 parent cd00ae6 commit 704fda7
Show file tree
Hide file tree
Showing 17 changed files with 2,547 additions and 322 deletions.
Binary file modified _book/Introduction-to-R-with-Tidyverse.pdf
Binary file not shown.
725 changes: 725 additions & 0 deletions _book/data_description.html

Large diffs are not rendered by default.

45 changes: 0 additions & 45 deletions _book/data_description.qmd

This file was deleted.

1,165 changes: 1,165 additions & 0 deletions _book/exercise_solutions.html

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
74 changes: 50 additions & 24 deletions _book/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">

<meta name="author" content="Sophie Lee">
<meta name="dcterms.date" content="2024-06-15">
<meta name="dcterms.date" content="2024-07-15">

<title>Introduction to R with Tidyverse</title>
<style>
Expand Down Expand Up @@ -103,14 +103,17 @@
<li class="nav-item compact">
<a class="nav-link" href="https://x.com/SophieStats10"> <i class="bi bi-twitter" role="img" aria-label="Twitter">
</i>
<span class="menu-text"></span></a>
</li>
<li class="nav-item compact">
<a class="nav-link" href="https://buymeacoffee.com/sophie_a_lee"> <i class="bi bi-cup-hot" role="img" aria-label="Buy me a coffee">
</i>
<span class="menu-text"></span></a>
</li>
</ul>
</div> <!-- /navcollapse -->
<div class="quarto-navbar-tools tools-wide">
<a href="https://github.com/sophie-a-lee/Introduction_R_Tidyverse_course" title="Source Code" class="quarto-navigation-tool px-1" aria-label="Source Code"><i class="bi bi-github"></i></a>
<div class="quarto-navbar-tools">
<a href="./Introduction-to-R-with-Tidyverse.pdf" title="Download PDF" class="quarto-navigation-tool px-1" aria-label="Download PDF"><i class="bi bi-file-pdf"></i></a>
<a href="https://twitter.com/intent/tweet?url=|url|" title="Twitter" class="quarto-navigation-tool px-1" aria-label="Twitter"><i class="bi bi-twitter"></i></a>
</div>
</div> <!-- /container-fluid -->
</nav>
Expand All @@ -119,7 +122,7 @@
<button type="button" class="quarto-btn-toggle btn" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<i class="bi bi-layout-text-sidebar-reverse"></i>
</button>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./index.html"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Welcome!</span></a></li></ol></nav>
<nav class="quarto-page-breadcrumbs" aria-label="breadcrumb"><ol class="breadcrumb"><li class="breadcrumb-item"><a href="./index.html">Welcome!</a></li></ol></nav>
<a class="flex-grow-1" role="button" data-bs-toggle="collapse" data-bs-target=".quarto-sidebar-collapse-item" aria-controls="quarto-sidebar" aria-expanded="false" aria-label="Toggle sidebar navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
</a>
</div>
Expand All @@ -134,39 +137,62 @@
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./index.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Welcome!</span></span></a>
<span class="menu-text">Welcome!</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./session1_notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Session 1: Introduction to R and RStudio</span></span></a>
<span class="menu-text"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Introduction to R and RStudio</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./session2_notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Session 2: Introduction to tidyverse and data wrangling</span></span></a>
<span class="menu-text"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Introduction to tidyverse and data wrangling</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./session3_notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Session 3: Data preparation and manipulation</span></span></a>
<span class="menu-text"><span class="chapter-number">3</span>&nbsp; <span class="chapter-title">Data preparation and manipulation</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./session4_notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Session 4: Data visualisation with ggplot2</span></span></a>
<span class="menu-text"><span class="chapter-number">4</span>&nbsp; <span class="chapter-title">Data visualisation with ggplot2</span></span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./session5_notes.html" class="sidebar-item-text sidebar-link">
<span class="menu-text"><span class="chapter-number">6</span>&nbsp; <span class="chapter-title">Reproducible research with RMarkdown</span></span></a>
<span class="menu-text"><span class="chapter-number">5</span>&nbsp; <span class="chapter-title">Reproducible research with RMarkdown</span></span></a>
</div>
</li>
<li class="sidebar-item sidebar-item-section">
<div class="sidebar-item-container">
<a class="sidebar-item-text sidebar-link text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" aria-expanded="true">
<span class="menu-text">Appendices</span></a>
<a class="sidebar-item-toggle text-start" data-bs-toggle="collapse" data-bs-target="#quarto-sidebar-section-1" aria-expanded="true" aria-label="Toggle section">
<i class="bi bi-chevron-right ms-2"></i>
</a>
</div>
<ul id="quarto-sidebar-section-1" class="collapse list-unstyled sidebar-section depth1 show">
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./data_description.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Data description</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="./exercise_solutions.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Exercise solutions</span></a>
</div>
</li>
</ul>
</li>
</ul>
</div>
</nav>
Expand All @@ -177,10 +203,10 @@
<h2 id="toc-title">Table of contents</h2>

<ul>
<li><a href="#welcome" id="toc-welcome" class="nav-link active" data-scroll-target="#welcome"><span class="header-section-number">1</span> Welcome!</a>
<li><a href="#welcome" id="toc-welcome" class="nav-link active" data-scroll-target="#welcome">Welcome!</a>
<ul class="collapse">
<li><a href="#data-used-for-the-course" id="toc-data-used-for-the-course" class="nav-link" data-scroll-target="#data-used-for-the-course"><span class="header-section-number">1.1</span> Data used for the course</a></li>
<li><a href="#license" id="toc-license" class="nav-link" data-scroll-target="#license"><span class="header-section-number">1.2</span> License</a></li>
<li><a href="#data-used-for-the-course" id="toc-data-used-for-the-course" class="nav-link" data-scroll-target="#data-used-for-the-course">Data used for the course</a></li>
<li><a href="#license" id="toc-license" class="nav-link" data-scroll-target="#license">License</a></li>
</ul></li>
</ul>
</nav>
Expand All @@ -207,7 +233,7 @@ <h1 class="title">Introduction to R with Tidyverse</h1>
<div>
<div class="quarto-title-meta-heading">Published</div>
<div class="quarto-title-meta-contents">
<p class="date">June 15, 2024</p>
<p class="date">July 15, 2024</p>
</div>
</div>

Expand All @@ -219,8 +245,8 @@ <h1 class="title">Introduction to R with Tidyverse</h1>
</header>


<section id="welcome" class="level1" data-number="1">
<h1 data-number="1"><span class="header-section-number">1</span> Welcome!</h1>
<section id="welcome" class="level1 unnumbered">
<h1 class="unnumbered">Welcome!</h1>
<p>Welcome to the course materials for the <strong>Introduction to R with Tidyverse</strong> course.</p>
<p>This course is designed to equip you with the essential skills to leverage the power of R and Tidyverse for their work. The course begins with a gentle introduction to the user-friendly RStudio interface and the basics of the R coding language, or syntax. This makes it ideal for anyone with little or no prior coding experience, or those looking for a refresher of the basics.</p>
<p>Through this course, you will learn how to manipulate, transform, and clean data efficiently, and how to create compelling visualisations to communicate your findings effectively. Throughout the course, we will discuss best practices for reproducible coding.</p>
Expand All @@ -237,14 +263,14 @@ <h1 data-number="1"><span class="header-section-number">1</span> Welcome!</h1>
<p>Throughout these notes, you will also see boxes like this containing ‘style tips’. These ensure that your code follows the <a href="https://style.tidyverse.org/">Tidyverse style guide</a>, making it as consistent and readable as possible.</p>
</div>
</div>
<section id="data-used-for-the-course" class="level2" data-number="1.1">
<h2 data-number="1.1" class="anchored" data-anchor-id="data-used-for-the-course"><span class="header-section-number">1.1</span> Data used for the course</h2>
<section id="data-used-for-the-course" class="level2">
<h2 class="anchored" data-anchor-id="data-used-for-the-course">Data used for the course</h2>
<p>The examples and exercises in these materials are based on real world data. This data relates to the Core Spending Power (CSP) of English local authorities between 2015 and 2020.</p>
<p>Data for this course can be downloaded from the <code>data</code> folder of this course’s <a href="https://github.com/sophie-a-lee/Introduction_R_Tidyverse_course">repository</a>.</p>
<p>For more information about this data, including variable descriptions and sources, see <a href="data_description.qmd">the appendix</a>.</p>
<p>For more information about this data, including variable descriptions and sources, see <a href="./data_description.html">the appendix</a>.</p>
</section>
<section id="license" class="level2" data-number="1.2">
<h2 data-number="1.2" class="anchored" data-anchor-id="license"><span class="header-section-number">1.2</span> License</h2>
<section id="license" class="level2">
<h2 class="anchored" data-anchor-id="license">License</h2>
<p>I believe that science should not be behind a paywall, that is why these materials are available for free online, licensed under a <a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA licence</a>.</p>


Expand Down Expand Up @@ -665,8 +691,8 @@ <h2 data-number="1.2" class="anchored" data-anchor-id="license"><span class="hea
<div class="nav-page nav-page-previous">
</div>
<div class="nav-page nav-page-next">
<a href="./session1_notes.html" class="pagination-link" aria-label="Session 1: Introduction to R and RStudio">
<span class="nav-page-text"><span class="chapter-number">2</span>&nbsp; <span class="chapter-title">Session 1: Introduction to R and RStudio</span></span> <i class="bi bi-arrow-right-short"></i>
<a href="./session1_notes.html" class="pagination-link" aria-label="Introduction to R and RStudio">
<span class="nav-page-text"><span class="chapter-number">1</span>&nbsp; <span class="chapter-title">Introduction to R and RStudio</span></span> <i class="bi bi-arrow-right-short"></i>
</a>
</div>
</nav>
Expand Down
Loading

0 comments on commit 704fda7

Please sign in to comment.