Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed May 29, 2024
1 parent ca0a0e5 commit 9a7cd02
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 43 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9b0a2ea1
3ec7f6c3
Binary file modified factors.pdf
Binary file not shown.
3 changes: 2 additions & 1 deletion html/factors.html
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ <h1 class="title">Factors with forcats :: Cheatsheet</h1>
</p>
<ul>
<li><a href="../translations/japanese/factors_ja.pdf"><i class="bi bi-file-pdf"></i>Japanese</a></li>
<li><a href="../translations/portuguese/factors_pt_br.pdf"><i class="bi bi-file-pdf"></i>Portuguese</a></li>
<li><a href="../translations/spanish/factors_es.pdf"><i class="bi bi-file-pdf"></i>Spanish</a></li>
</ul>
</div></div><p>The <strong>forcats</strong> package provides tools for working with factors, which are R’s data structure for categorical data.</p>
Expand Down Expand Up @@ -368,7 +369,7 @@ <h2 class="anchored" data-anchor-id="add-or-drop-levels">Add or drop levels</h2>
<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://forcats.tidyverse.org">forcats.tidyverse.org</a>.</p>
<p>Updated: 2023-06.</p>
<p>Updated: 2024-05.</p>
<div class="cell">
<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">packageVersion</span>(<span class="st">"forcats"</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">
Expand Down
Binary file modified html/factors_files/figure-html/unnamed-chunk-21-1.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 modified html/images/logo-forcats.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 18 additions & 18 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ <h1 class="title">Posit Cheatsheets</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-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="8" data-listing-word-count-sort="1573">
<div class="g-col-1" data-index="0" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="8" data-listing-word-count-sort="1573">
<a href="./html/rstudio-ide.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-RStudio.png" alt="Hex logo for the RStudio IDE - A light blue hexagon with the word 'RStudio' in the middle. The 'R' is blue in the centre of a solid white circle, while 'Studio' is written in white on the blue background." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -234,7 +234,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="1" data-listing-file-modified-sort="1716955479332" data-listing-reading-time-sort="18" data-listing-word-count-sort="3420">
<div class="g-col-1" data-index="1" data-listing-file-modified-sort="1717006016637" data-listing-reading-time-sort="18" data-listing-word-count-sort="3420">
<a href="./html/data-visualization.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-ggplot2.png" alt="Hex logo for ggplot2 - Six points following an overall increasing trend filled with colors going from light blue to dark blue, connected with a black line, on a light gray background with white grid lines." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -254,7 +254,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="2" data-listing-file-modified-sort="1716955479332" data-listing-reading-time-sort="11" data-listing-word-count-sort="2177">
<div class="g-col-1" data-index="2" data-listing-file-modified-sort="1717006016637" data-listing-reading-time-sort="11" data-listing-word-count-sort="2177">
<a href="./html/data-transformation.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-dplyr.png" alt="Hex logo for dplyr - three different brightly coloured cartoon pairs of pliers that appear as spaceships flying through a black background, with coloured spots representing stars and planets." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -274,7 +274,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="3" data-listing-file-modified-sort="1716955479332" data-listing-reading-time-sort="17" data-listing-word-count-sort="3355">
<div class="g-col-1" data-index="3" data-listing-file-modified-sort="1717006016637" data-listing-reading-time-sort="17" data-listing-word-count-sort="3355">
<a href="./html/data-import.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-readr.png" alt="Hex logo for readr - a white document icon going dowards into a dark blue funnel, with a white icon of a data table coming out the narrow end, all on a blue background." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -294,7 +294,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="4" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="11" data-listing-word-count-sort="2030">
<div class="g-col-1" data-index="4" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="11" data-listing-word-count-sort="2030">
<a href="./html/tidyr.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-tidyr.png" alt="Hex logo for tidyr - three different brightly coloured cartoon brooms that appear as spaceships flying through a black background, with coloured spots representing stars and planets." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -314,7 +314,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="5" data-listing-file-modified-sort="1716955479352" data-listing-reading-time-sort="12" data-listing-word-count-sort="2265">
<div class="g-col-1" data-index="5" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="12" data-listing-word-count-sort="2265">
<a href="./html/purrr.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-purrr.png" alt="Hex logo for purrr - a simple sketch of a sleeping cat nestled into the bottom of the black border of the hexagon. 'purrr' is written across the top in black." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -334,7 +334,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="6" data-listing-file-modified-sort="1716955479332" data-listing-reading-time-sort="5" data-listing-word-count-sort="995">
<div class="g-col-1" data-index="6" data-listing-file-modified-sort="1717006016637" data-listing-reading-time-sort="5" data-listing-word-count-sort="995">
<a href="./html/factors.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-forcats.png" alt="Hex logo for forcats - drawing of four black cats lounging in a cardboard box. On one side of the box it says 'for' and on the adjacent side is says 'cats'." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -354,7 +354,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="7" data-listing-file-modified-sort="1716955479352" data-listing-reading-time-sort="11" data-listing-word-count-sort="2148">
<div class="g-col-1" data-index="7" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="11" data-listing-word-count-sort="2148">
<a href="./html/lubridate.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-lubridate.png" alt="Hex logo for lubridate - a white calendar on a green background, with a clock superimposed on it. 'lubdridate' is written in white across the bottom." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -374,7 +374,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="8" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="80" data-listing-word-count-sort="15864">
<div class="g-col-1" data-index="8" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="80" data-listing-word-count-sort="15864">
<a href="./html/strings.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-stringr.png" alt="Hex logo for stringr - a green hexagon with a white violin in the centre, above the word 'stringr' in white." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -394,7 +394,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="9" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="17" data-listing-word-count-sort="3268">
<div class="g-col-1" data-index="9" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="17" data-listing-word-count-sort="3268">
<a href="./html/shiny.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-shiny.png" alt="Hex logo for Shiny - A blue hexagon with the word 'Shiny' written in white in a flowing cursive font. The tail of the 'y' flows back to the left to underline the word." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -414,7 +414,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="10" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="14" data-listing-word-count-sort="2787">
<div class="g-col-1" data-index="10" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="14" data-listing-word-count-sort="2787">
<a href="./html/shiny-python.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-shiny.png" alt="Hex logo for Shiny - A blue hexagon with the word 'Shiny' written in white in a flowing cursive font. The tail of the 'y' flows back to the left to underline the word." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -434,7 +434,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="11" data-listing-file-modified-sort="1716955479352" data-listing-reading-time-sort="8" data-listing-word-count-sort="1572">
<div class="g-col-1" data-index="11" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="8" data-listing-word-count-sort="1572">
<a href="./html/package-development.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-devtools.png" alt="Hex logo for devtools - The bottom part of a lowercase 'd' in black, in a hexagonal shape slightly inside the boundary of the hexagonal logo. The background is filled in three shades of blue. 'devtools' is written across the front in white." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -454,7 +454,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="12" data-listing-file-modified-sort="1716955479352" data-listing-reading-time-sort="11" data-listing-word-count-sort="2019">
<div class="g-col-1" data-index="12" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="11" data-listing-word-count-sort="2019">
<a href="./html/quarto.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-quarto.png" alt="Hex logo for Quarto - a white circle segmented into quarters next to the text Quarto on a blue background." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -474,7 +474,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="13" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="88" data-listing-word-count-sort="17593">
<div class="g-col-1" data-index="13" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="88" data-listing-word-count-sort="17593">
<a href="./html/rmarkdown.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-rmarkdown.png" alt="Hex logo for rmarkdown - a dark blue background with a teal border. 'rmarkdown' is written across the bottom in light teal, and there is a quill pen above the word, with the tip pointing to the first 'r'." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -494,7 +494,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="14" data-listing-file-modified-sort="1716955479352" data-listing-reading-time-sort="7" data-listing-word-count-sort="1322">
<div class="g-col-1" data-index="14" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="7" data-listing-word-count-sort="1322">
<a href="./html/keras.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-tensorflow.png" alt="Hex logo for tensorflow - A red hexagon with a stylized 'TFR' (denoting TensorFlow for R) in a lighter shade of red, with the 'F' joined to the 'R'." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -514,7 +514,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="15" data-listing-file-modified-sort="1716955479352" data-listing-reading-time-sort="13" data-listing-word-count-sort="2444">
<div class="g-col-1" data-index="15" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="13" data-listing-word-count-sort="2444">
<a href="./html/plumber.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-plumber.png" alt="Hex logo for plumber - the word 'plumber' written in green, where the letters are depicted as water pipes, which connect to the border of the logo. The background is a series of criss-crossing pipes in shades of black and grey." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -534,7 +534,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="16" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="13" data-listing-word-count-sort="2453">
<div class="g-col-1" data-index="16" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="13" data-listing-word-count-sort="2453">
<a href="./html/reticulate.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-reticulate.png" alt="Hex logo for reticulate - a navy blue background with a light-blue and yellow snake semi-coiled across the foreground. 'reticulate' is written across the bottom in white." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand All @@ -554,7 +554,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="17" data-listing-file-modified-sort="1716955479356" data-listing-reading-time-sort="1" data-listing-word-count-sort="47">
<div class="g-col-1" data-index="17" data-listing-file-modified-sort="1717006016661" data-listing-reading-time-sort="1" data-listing-word-count-sort="47">
<a href="./html/sparklyr.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top"><img src="html/images/logo-sparklyr.png" alt="Hex logo for sparklyr - Neon shooting stars of various shapes and sizes flying across a black and grey background." style="height: 200px;" class="thumbnail-image card-img"/></p>
Expand Down
Binary file modified pngs/factors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@
"href": "html/factors.html",
"title": "Factors with forcats :: Cheatsheet",
"section": "",
"text": "Download PDF\n\n \n\nTranslations (PDF)\n\n\nJapanese\nSpanish\nThe forcats package provides tools for working with factors, which are R’s data structure for categorical data.\nlibrary(forcats)"
"text": "Download PDF\n\n \n\nTranslations (PDF)\n\n\nJapanese\nPortuguese\nSpanish\nThe forcats package provides tools for working with factors, which are R’s data structure for categorical data.\nlibrary(forcats)"
},
{
"objectID": "html/factors.html#factors",
Expand Down Expand Up @@ -564,7 +564,7 @@
"href": "html/factors.html#add-or-drop-levels",
"title": "Factors with forcats :: Cheatsheet",
"section": "Add or drop levels",
"text": "Add or drop levels\n\nfct_drop(f, only): Drop unused levels.\n\nf5 &lt;- factor(c(\"a\",\"b\"),c(\"a\",\"b\",\"x\"))\nf6 &lt;- fct_drop(f5)\n\nfct_expand(f, ...): Add levels to a factor.\n\nfct_expand(f6, \"x\")\n\nfct_na_value_to_level(f, level = \"(Missing)\"): Assigns a level to NAs to ensure they appear in plots, etc.\n\nf &lt;- factor(c(\"a\", \"b\", NA))\nfct_na_value_to_level(f, level = \"(Missing)\")\n\n\n\nCC BY SA Posit Software, PBC • [email protected] • posit.co\nLearn more at forcats.tidyverse.org.\nUpdated: 2023-06.\n\npackageVersion(\"forcats\")\n\n[1] '1.0.0'"
"text": "Add or drop levels\n\nfct_drop(f, only): Drop unused levels.\n\nf5 &lt;- factor(c(\"a\",\"b\"),c(\"a\",\"b\",\"x\"))\nf6 &lt;- fct_drop(f5)\n\nfct_expand(f, ...): Add levels to a factor.\n\nfct_expand(f6, \"x\")\n\nfct_na_value_to_level(f, level = \"(Missing)\"): Assigns a level to NAs to ensure they appear in plots, etc.\n\nf &lt;- factor(c(\"a\", \"b\", NA))\nfct_na_value_to_level(f, level = \"(Missing)\")\n\n\n\nCC BY SA Posit Software, PBC • [email protected] • posit.co\nLearn more at forcats.tidyverse.org.\nUpdated: 2024-05.\n\npackageVersion(\"forcats\")\n\n[1] '1.0.0'"
},
{
"objectID": "html/data-transformation.html",
Expand Down
Loading

0 comments on commit 9a7cd02

Please sign in to comment.