Skip to content

Commit

Permalink
clean up + small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
z3tt committed Oct 10, 2023
1 parent 130c3c1 commit 2c92bc3
Show file tree
Hide file tree
Showing 37 changed files with 81 additions and 85 deletions.
4 changes: 2 additions & 2 deletions _freeze/materials/00-welcome/execute-results/html.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions _freeze/materials/01-fundamentals/execute-results/html.json

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.
1 change: 1 addition & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
project:
type: website
output-dir: docs
resources:
- "images/twitter-card.png"
render:
Expand Down
Binary file added docs/docs/docs/docs/images/cedric.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/docs/docs/images/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/docs/docs/images/team-page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/docs/docs/docs/images/twitter-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/materials/00-welcome.html
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ <h2></h2>

</div>
</section>
<section id="cedric-blog" class="slide level2" data-menu-title="Cédric Blog" data-background-image="img/intro/blog.png" data-background-position="center" data-background-size="56%">
<section id="cedric-blog" class="slide level2" data-menu-title="Cédric Blog " data-background-image="img/intro/blog.png" data-background-position="center" data-background-size="56%">
<h2></h2>
<div class="footer">

Expand Down
14 changes: 7 additions & 7 deletions docs/materials/01-fundamentals.html
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ <h2>The Components of a ggplot</h2>
<code>ggplot(data)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
<em>The raw data that you want to visualize.</em>
<em>The raw data that you want to visualize (initialising a plot).</em>
</td>
</tr>
<tr>
Expand All @@ -484,7 +484,7 @@ <h2>The Components of a ggplot</h2>
<code>aes()</code>
</td>
<td>
<em>The mapping between variables and visual properties</em>
<em>The mapping between variables and visual properties.</em>
</td>
</tr><tr>
<td>
Expand All @@ -494,7 +494,7 @@ <h2>The Components of a ggplot</h2>
<code>geom_*()</code>
</td>
<td>
<em>The geometric shapes representing the data.</em>
<em>The geometric shape of a layer representing the data.</em>
</td>
</tr>

Expand Down Expand Up @@ -528,7 +528,7 @@ <h2>The Components of a ggplot</h2>
<code>ggplot(data)</code>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</td>
<td>
<em>The raw data that you want to visualize.</em>
<em>The raw data that you want to visualize (initializing a plot).</em>
</td>
</tr>
<tr>
Expand All @@ -549,7 +549,7 @@ <h2>The Components of a ggplot</h2>
<code>geom_*()</code>
</td>
<td>
<em>The geometric shapes representing the data.</em>
<em>The geometric shape of a layer representing the data.</em>
</td>
</tr>
<tr>
Expand All @@ -560,7 +560,7 @@ <h2>The Components of a ggplot</h2>
<code>stat_*()</code>
</td>
<td>
<em>The statistical transformations applied to the data.</em>
<em>The statistical transformation of a layer applied to the data.</em>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -593,7 +593,7 @@ <h2>The Components of a ggplot</h2>
<code>facet_*()</code>
</td>
<td>
<em>The arrangement of the data into a grid of small multiples.</em>
<em>The arrangement of the data into a set of small multiples.</em>
</td>
</tr>
<tr>
Expand Down
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.
10 changes: 5 additions & 5 deletions docs/materials/04-theming.html
Original file line number Diff line number Diff line change
Expand Up @@ -676,20 +676,20 @@ <h2>Use Non-Default Typefaces</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb20"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb20-1"><a href="#cb20-1"></a><span class="fu">system_fonts</span>()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell-output cell-output-stdout">
<div class="sourceCode" id="cb21"><pre class="sourceCode numberSource hscroll number-lines code-with-copy"><code class="sourceCode"><span id="cb21-1"><a href="#cb21-1"></a># A tibble: 19,243 × 9</span>
<div class="sourceCode" id="cb21"><pre class="sourceCode numberSource hscroll number-lines code-with-copy"><code class="sourceCode"><span id="cb21-1"><a href="#cb21-1"></a># A tibble: 16,691 × 9</span>
<span id="cb21-2"><a href="#cb21-2"></a> path index name family style weight width italic monospace</span>
<span id="cb21-3"><a href="#cb21-3"></a> &lt;chr&gt; &lt;int&gt; &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;ord&gt; &lt;ord&gt; &lt;lgl&gt; &lt;lgl&gt; </span>
<span id="cb21-4"><a href="#cb21-4"></a> 1 /Users/cedric/Library/Fonts/FontBase/IntroHeadR-Base.otf 0 IntroHeadR-Base Intro… Base normal norm… FALSE FALSE </span>
<span id="cb21-5"><a href="#cb21-5"></a> 2 /Users/cedric/Library/Fonts/Moniqa-ThinItalicHeading.otf 0 Moniqa-ThinItalicHeading Moniqa Thin… ultra… norm… TRUE FALSE </span>
<span id="cb21-6"><a href="#cb21-6"></a> 3 /Users/cedric/Library/Fonts/FontBase/Bitter-200.ttf 0 Bitter-ExtraLight Bitter Extr… normal norm… FALSE FALSE </span>
<span id="cb21-6"><a href="#cb21-6"></a> 3 /Users/cedric/Library/Fonts/ArimoNerdFontPropo-Italic.ttf 0 ArimoNFP-Italic Arimo… Ital… normal norm… TRUE FALSE </span>
<span id="cb21-7"><a href="#cb21-7"></a> 4 /Users/cedric/Library/Fonts/iosevka-ss02.ttc 72 Iosevka-SS02-Medium Iosev… Medi… medium norm… FALSE TRUE </span>
<span id="cb21-8"><a href="#cb21-8"></a> 5 /System/Library/Fonts/Supplemental/Bangla MN.ttc 0 BanglaMN Bangl… Regu… normal norm… FALSE FALSE </span>
<span id="cb21-9"><a href="#cb21-9"></a> 6 /Users/cedric/Library/Fonts/iosevka-ss01-extrabold.ttc 17 Iosevka-Fixed-SS01-Extrabold-Exten… Iosev… Extr… ultra… norm… TRUE TRUE </span>
<span id="cb21-10"><a href="#cb21-10"></a> 7 /Users/cedric/Library/Fonts/Anybody-ExtraExpandedExtraLight.otf 0 Anybody-ExtraExpandedExtraLight Anybo… Extr… light semi… FALSE FALSE </span>
<span id="cb21-11"><a href="#cb21-11"></a> 8 /Users/cedric/Library/Fonts/Neutraface Text Demi Alt.ttf 0 NeutrafaceText-DemiAlt Neutr… Regu… semib… norm… FALSE FALSE </span>
<span id="cb21-12"><a href="#cb21-12"></a> 9 /Users/cedric/Library/Fonts/PlusJakartaSans-Italic-VariableFont_wght.ttf 1 PlusJakartaSansItalic-Light Plus … Ligh… normal norm… TRUE FALSE </span>
<span id="cb21-13"><a href="#cb21-13"></a>10 /Users/cedric/Library/Fonts/aleo-italic-webfont.ttf 0 Aleo-Italic Aleo Ital… normal norm… TRUE FALSE </span>
<span id="cb21-14"><a href="#cb21-14"></a># ℹ 19,233 more rows</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb21-14"><a href="#cb21-14"></a># ℹ 16,681 more rows</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</div>
</section>
Expand Down Expand Up @@ -1433,8 +1433,8 @@ <h2>Exercise</h2>
</ul>
</div>
</section>
<section id="exercise-1-1" class="slide level2">
<h2>Exercise 1</h2>
<section id="exercise-2" class="slide level2">
<h2>Exercise</h2>
<div class="question">
<ul>
<li><strong>Create a corporate or funny custom theme.</strong>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 3 additions & 11 deletions docs/materials/solutions/04-theming-solutions.html
Original file line number Diff line number Diff line change
Expand Up @@ -434,17 +434,9 @@ <h2>Exercise</h2>
</section>
<section id="preparation" class="slide level2">
<h2>Preparation</h2>
<div class="cell" data-hash="04-theming-solutions_cache/revealjs/preparation_83f0588f9d117167edaaeba03e2c9061">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1"></a><span class="fu">library</span>(readr)</span>
<span id="cb1-2"><a href="#cb1-2"></a><span class="fu">library</span>(dplyr)</span>
<span id="cb1-3"><a href="#cb1-3"></a><span class="fu">library</span>(ggplot2)</span>
<span id="cb1-4"><a href="#cb1-4"></a></span>
<span id="cb1-5"><a href="#cb1-5"></a><span class="do">## data</span></span>
<span id="cb1-6"><a href="#cb1-6"></a>bikes <span class="ot">&lt;-</span></span>
<span id="cb1-7"><a href="#cb1-7"></a> <span class="fu">read_csv</span>(</span>
<span id="cb1-8"><a href="#cb1-8"></a> here<span class="sc">::</span><span class="fu">here</span>(<span class="st">"data"</span>, <span class="st">"london-bikes.csv"</span>),</span>
<span id="cb1-9"><a href="#cb1-9"></a> <span class="at">col_types =</span> <span class="st">"Dcfffilllddddc"</span></span>
<span id="cb1-10"><a href="#cb1-10"></a> )</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<div class="cell" data-hash="04-theming-solutions_cache/revealjs/preparation_3f2648175fb5a1a910743afbb4692ad3">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode numberSource r number-lines code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1"></a><span class="fu">library</span>(ggplot2)</span>
<span id="cb1-2"><a href="#cb1-2"></a><span class="fu">library</span>(readr)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</section>
<section id="custom-theme" class="slide level2">
Expand Down
14 changes: 7 additions & 7 deletions docs/schedule.html
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ <h1 class="title">Schedule</h1>
</tr>
</thead>
<tbody class="list">
<tr data-index="0" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1693989014014" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1.725" data-listing-title-sort="Fundamentals &amp; Workflows" data-listing-filename-sort="s01-fundamentals.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="0" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1693989014014" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1.725" data-listing-title-sort="Fundamentals &amp; Workflows" data-listing-filename-sort="s01-fundamentals.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/01-fundamentals.png" style="height: 40px;">
Expand All @@ -269,7 +269,7 @@ <h1 class="title">Schedule</h1>
<a href="./modules/s01-fundamentals.html" class="title">Fundamentals &amp; Workflows</a>
</td>
</tr>
<tr data-index="1" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1693217041308" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="0.125" data-listing-title-sort="Coffee Break" data-listing-filename-sort="s02-break.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="1" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1693217041308" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="0.125" data-listing-title-sort="Coffee Break" data-listing-filename-sort="s02-break.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/coffee-break.png" style="height: 40px;" alt="A coffee cup.">
Expand All @@ -281,7 +281,7 @@ <h1 class="title">Schedule</h1>
<a href="./modules/s02-break.html" class="title">Coffee Break</a>
</td>
</tr>
<tr data-index="2" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1693989042306" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2.805" data-listing-title-sort="Working with Text" data-listing-filename-sort="s03-text.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="2" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1693989042306" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2.805" data-listing-title-sort="Working with Text" data-listing-filename-sort="s03-text.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/02-text.png" style="height: 40px;">
Expand All @@ -293,7 +293,7 @@ <h1 class="title">Schedule</h1>
<a href="./modules/s03-text.html" class="title">Working with Text</a>
</td>
</tr>
<tr data-index="3" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1693217833118" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="0.095" data-listing-title-sort="Lunch Break" data-listing-filename-sort="s04-lunch.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="3" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1693217833118" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="0.095" data-listing-title-sort="Lunch Break" data-listing-filename-sort="s04-lunch.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/lunch-break.png" style="height: 40px;" alt="Plate and utensils.">
Expand All @@ -305,7 +305,7 @@ <h1 class="title">Schedule</h1>
<a href="./modules/s04-lunch.html" class="title">Lunch Break</a>
</td>
</tr>
<tr data-index="4" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1693989070667" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2.795" data-listing-title-sort="Working with Colors" data-listing-filename-sort="s05-colors.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="4" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1693989070667" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="2.795" data-listing-title-sort="Working with Colors" data-listing-filename-sort="s05-colors.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/03-colors.png" style="height: 40px;">
Expand All @@ -317,7 +317,7 @@ <h1 class="title">Schedule</h1>
<a href="./modules/s05-colors.html" class="title">Working with Colors</a>
</td>
</tr>
<tr data-index="5" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1693217835864" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="0.125" data-listing-title-sort="Coffee Break" data-listing-filename-sort="s06-break.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="5" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1693217835864" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="0.125" data-listing-title-sort="Coffee Break" data-listing-filename-sort="s06-break.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/coffee-break.png" style="height: 40px;" alt="A coffee cup.">
Expand All @@ -329,7 +329,7 @@ <h1 class="title">Schedule</h1>
<a href="./modules/s06-break.html" class="title">Coffee Break</a>
</td>
</tr>
<tr data-index="6" data-listing-date-sort="1695013200000" data-listing-file-modified-sort="1694334922476" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1.18" data-listing-title-sort="Data Communication" data-listing-filename-sort="s07-theming.qmd" onclick="href = this.querySelector('a').getAttribute('href');
<tr data-index="6" data-listing-date-sort="1694988000000" data-listing-file-modified-sort="1694334922476" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1.18" data-listing-title-sort="Data Communication" data-listing-filename-sort="s07-theming.qmd" onclick="href = this.querySelector('a').getAttribute('href');
if (href) { window.location=href ; return false; }">
<td class="listing-image">
<img src="./modules/images/04-theming.png" style="height: 40px;">
Expand Down
Loading

0 comments on commit 2c92bc3

Please sign in to comment.