-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Quarto GHA Workflow Runner
committed
May 29, 2024
1 parent
b311b30
commit b8c2179
Showing
18 changed files
with
106 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
781da8a4 | ||
ff4aae40 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -242,6 +242,7 @@ <h1 class="title">Data transformation with dplyr :: Cheatsheet</h1> | |
<ul> | ||
<li><a href="../translations/chinese/data-transformation_zh_cn.pdf"><i class="bi bi-file-pdf"></i>Chinese</a></li> | ||
<li><a href="../translations/german/data-transformation_de.pdf"><i class="bi bi-file-pdf"></i>German</a></li> | ||
<li><a href="../translations/portuguese/data-transformation_pt_br.pdf"><i class="bi bi-file-pdf"></i>Portuguese</a></li> | ||
<li><a href="../translations/russian/data-transformation_ru.pdf"><i class="bi bi-file-pdf"></i>Russian</a></li> | ||
<li><a href="../translations/spanish/data-transformation_es.pdf"><i class="bi bi-file-pdf"></i>Spanish</a></li> | ||
<li><a href="../translations/turkish/data-transformation_tr.pdf"><i class="bi bi-file-pdf"></i>Turkish</a></li> | ||
|
@@ -623,9 +624,6 @@ <h3 class="anchored" data-anchor-id="column-matching-for-joins">Column Matching | |
<div class="sourceCode cell-code" id="cb27"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb27-1"><a href="#cb27-1" aria-hidden="true" tabindex="-1"></a><span class="fu">left_join</span>(x, y, <span class="at">by =</span> <span class="fu">join_by</span>(A))</span> | ||
<span id="cb27-2"><a href="#cb27-2" aria-hidden="true" tabindex="-1"></a><span class="fu">left_join</span>(x, y, <span class="at">by =</span> <span class="fu">join_by</span>(A, B))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div> | ||
</div></li> | ||
</ul> | ||
<!-- --> | ||
<ul> | ||
<li><p>Use a logical statement, <code>by = join_by(col1 == col2)</code>, to match on columns that have different names in each table.</p> | ||
<div class="cell"> | ||
<div class="sourceCode cell-code" id="cb28"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb28-1"><a href="#cb28-1" aria-hidden="true" tabindex="-1"></a><span class="fu">left_join</span>(x, y, <span class="at">by =</span> <span class="fu">join_by</span>(C <span class="sc">==</span> D))</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div> | ||
|
@@ -647,11 +645,11 @@ <h3 class="anchored" data-anchor-id="set-operations">Set Operations</h3> | |
<hr> | ||
<p>CC BY SA Posit Software, PBC • <a href="mailto:[email protected]">[email protected]</a> • <a href="https://posit.co">posit.co</a></p> | ||
<p>Learn more at <a href="https://dplyr.tidyverse.org">dplyr.tidyverse.org</a>.</p> | ||
<p>Updated: 2023-07.</p> | ||
<p>Updated: 2024-05.</p> | ||
<div class="cell"> | ||
<div class="sourceCode cell-code" id="cb30"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb30-1"><a href="#cb30-1" aria-hidden="true" tabindex="-1"></a><span class="fu">packageVersion</span>(<span class="st">"dplyr"</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"> | ||
<pre><code>[1] '1.1.2'</code></pre> | ||
<pre><code>[1] '1.1.4'</code></pre> | ||
</div> | ||
</div> | ||
<hr> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -268,8 +268,8 @@ <h2 class="anchored" data-anchor-id="aes">Aes</h2> | |
<ul> | ||
<li><p><code>color</code> and <code>fill</code>: String (<code>"red"</code>, <code>"#RRGGBB"</code>).</p></li> | ||
<li><p><code>linetype</code>: Integer or string (0 = <code>"blank"</code>, 1 = <code>"solid"</code>, 2 = <code>"dashed"</code>, 3 = <code>"dotted"</code>, 4 = <code>"dotdash"</code>, 5 = <code>"longdash"</code>, 6 = <code>"twodash"</code>).</p></li> | ||
<li><p><code>size</code>: Integer (line width in mm for outlines).</p></li> | ||
<li><p><code>linewidth</code>: Integer (line width in mm for lines).</p></li> | ||
<li><p><code>size</code>: Integer (in mm for size of points and text).</p></li> | ||
<li><p><code>linewidth</code>: Integer (in mm for widths of lines).</p></li> | ||
<li><p><code>shape</code>: Integer/shape name or a single character (<code>"a"</code>).</p> | ||
<ul> | ||
<li><code>shape</code> integer/name pairs: 0 = <code>"square open"</code>, 1 = <code>"circle open"</code>, 2 = <code>"triangle open"</code>, 3 = <code>"plus"</code>, 4 = <code>"cross"</code>, 5 = <code>"diamond open"</code>, 6 = <code>"triangle down open"</code>, 7 = <code>"square cross"</code>, 8 = <code>"asterisk"</code>, 9 = <code>"diamond plus"</code>, 10 = <code>"circle plus"</code>, 11 = <code>"star"</code>, 12 = <code>"square plus"</code>, 13 = <code>"circle cross"</code>, 14 = <code>"square triangle"</code>, 15 = <code>"square"</code>, 16 = <code>"circle"</code>, 17 = <code>"triangle"</code>, 18 = <code>"diamond"</code>, 19 = <code>"circle small"</code>, 20 = <code>"bullet"</code>, 21 = <code>"circle filled"</code>, 22 = <code>"square filled"</code>, 23 = <code>"diamond filled"</code>, 24 = <code>"triangle filled"</code>, 25 = <code>"triangle down filled"</code></li> | ||
|
@@ -632,12 +632,12 @@ <h2 class="anchored" data-anchor-id="zooming">Zooming</h2> | |
</ul> | ||
<hr> | ||
<p>CC BY SA Posit Software, PBC • <a href="mailto:[email protected]">[email protected]</a> • <a href="https://posit.co">posit.co</a></p> | ||
<p>Learn more at <a href="https://dplyr.tidyverse.org">dplyr.tidyverse.org</a>.</p> | ||
<p>Updated: 2023-07.</p> | ||
<p>Learn more at <a href="https://ggplot2.tidyverse.org">ggplot2.tidyverse.org</a>.</p> | ||
<p>Updated: 2024-05.</p> | ||
<div class="cell"> | ||
<div class="sourceCode cell-code" id="cb24"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb24-1"><a href="#cb24-1" aria-hidden="true" tabindex="-1"></a><span class="fu">packageVersion</span>(<span class="st">"ggplot2"</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"> | ||
<pre><code>[1] '3.4.2'</code></pre> | ||
<pre><code>[1] '3.5.1'</code></pre> | ||
</div> | ||
</div> | ||
<hr> | ||
|
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.
Oops, something went wrong.