Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ project:
output-dir: docs

website:
title: "NCEAS Coding Club"
navbar:
pinned: true
background: primary
left:
- href: index.qmd
text: Home
- href: data_bytes.qmd
text: Data Bytes
- data_recipe.qmd
Expand Down
3 changes: 3 additions & 0 deletions data_bytes/ggsvg.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ Let's run through an example with the `palmerpenguins` dataset [@palmerpenguins]
# load libraries
library(palmerpenguins)
library(tidyverse)
# install.packages('rsvg')
# remotes::install_github('coolbutuseless/ggsvg')
library(rsvg)
library(ggsvg)
```

Expand Down
14 changes: 0 additions & 14 deletions data_bytes_files/basic-for-loop/execute-results/html.json

This file was deleted.

Binary file removed data_bytes_files/figure-html/plot-1.png
Binary file not shown.
16 changes: 0 additions & 16 deletions data_bytes_files/ggsvg/execute-results/html.json

This file was deleted.

Binary file removed data_bytes_files/ggsvg/figure-html/plot-1.png
Binary file not shown.

This file was deleted.

6 changes: 5 additions & 1 deletion data_recipe.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
title: "Data Recipes"
---

About this site
### What's a Data Recipe?

Data Recipes are similar to Data Bytes but tend to focus on longer or more nuanced coding tutorials or explanations. This page will also grow as we develop recipes so check back to make sure you see our recipes as we create them! If you have an idea for a recipe, [Post an Issue](https://github.com/nceas-coding-club/nceas-coding-club.github.io/issues) on our GitHub repository and we can add it to our list.


28 changes: 11 additions & 17 deletions docs/data_bytes.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,19 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.1.189">
<meta name="generator" content="quarto-1.0.37">

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


<title>data_bytes</title>
<title>NCEAS Coding Club – data_bytes</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
</style>


Expand Down Expand Up @@ -100,14 +95,14 @@
<header id="quarto-header" class="headroom fixed-top">
<nav class="navbar navbar-expand-lg navbar-dark ">
<div class="navbar-container container-fluid">
<a class="navbar-brand" href="./index.html">
<span class="navbar-title">NCEAS Coding Club</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav navbar-nav-scroll me-auto">
<li class="nav-item">
<a class="nav-link" href="./index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link active" href="./data_bytes.html" aria-current="page">Data Bytes</a>
</li>
Expand Down Expand Up @@ -167,7 +162,7 @@ <h3 class="anchored" data-anchor-id="whats-a-data-byte">What’s a Data Byte?</h
</div>
</div>
<div class="list grid quarto-listing-cols-3">
<div class="g-col-1" data-index="0" data-categories="iteration" data-listing-date-sort="1662361200000" data-listing-file-modified-sort="1662484351944" data-listing-reading-time-sort="1.575">
<div class="g-col-1" data-index="0" data-categories="iteration" data-listing-date-sort="1662361200000" data-listing-file-modified-sort="1662667962560" data-listing-reading-time-sort="1.575">
<a href="./data_bytes/basic-for-loop.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
Expand Down Expand Up @@ -197,7 +192,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="1" data-categories="iteration" data-listing-date-sort="1662015600000" data-listing-file-modified-sort="1662484396787" data-listing-reading-time-sort="2.295">
<div class="g-col-1" data-index="1" data-categories="iteration" data-listing-date-sort="1662015600000" data-listing-file-modified-sort="1662667962560" data-listing-reading-time-sort="2.295">
<a href="./data_bytes/looping-through-non-numbers.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
Expand Down Expand Up @@ -227,7 +222,7 @@ <h5 class="no-anchor card-title listing-title">
</div>
</a>
</div>
<div class="g-col-1" data-index="2" data-categories="graph aesthetics" data-listing-date-sort="1662361200000" data-listing-file-modified-sort="1662488631815" data-listing-reading-time-sort="1.175">
<div class="g-col-1" data-index="2" data-categories="graph aesthetics" data-listing-date-sort="1662361200000" data-listing-file-modified-sort="1664555194359" data-listing-reading-time-sort="1.185">
<a href="./data_bytes/ggsvg.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<p class="card-img-top">
Expand Down Expand Up @@ -331,8 +326,7 @@ <h5 class="no-anchor card-title listing-title">
for (var i=0; i<noterefs.length; i++) {
const ref = noterefs[i];
tippyHover(ref, function() {
// use id or data attribute instead here
let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href');
let href = ref.getAttribute('href');
try { href = new URL(href).hash; } catch {}
const id = href.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
Expand Down
26 changes: 10 additions & 16 deletions docs/data_bytes/basic-for-loop.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,21 @@
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head>

<meta charset="utf-8">
<meta name="generator" content="quarto-1.1.189">
<meta name="generator" content="quarto-1.0.37">

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

<meta name="author" content="Daphne Virlar-Knight">
<meta name="dcterms.date" content="2022-09-05">

<title>Creating a Basic For Loop</title>
<title>NCEAS Coding Club - Creating a Basic For Loop</title>
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
ul.task-list li input[type="checkbox"] {
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
pre > code.sourceCode { white-space: pre; position: relative; }
pre > code.sourceCode > span { display: inline-block; line-height: 1.25; }
pre > code.sourceCode > span:empty { height: 1.2em; }
Expand Down Expand Up @@ -60,7 +55,7 @@
code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */
code span.at { color: #7d9029; } /* Attribute */
code span.bn { color: #40a070; } /* BaseN */
code span.bu { color: #008000; } /* BuiltIn */
code span.bu { } /* BuiltIn */
code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */
code span.ch { color: #4070a0; } /* Char */
code span.cn { color: #880000; } /* Constant */
Expand All @@ -73,7 +68,7 @@
code span.ex { } /* Extension */
code span.fl { color: #40a070; } /* Float */
code span.fu { color: #06287e; } /* Function */
code span.im { color: #008000; font-weight: bold; } /* Import */
code span.im { } /* Import */
code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */
code span.kw { color: #007020; font-weight: bold; } /* Keyword */
code span.op { color: #666666; } /* Operator */
Expand Down Expand Up @@ -134,14 +129,14 @@
<header id="quarto-header" class="headroom fixed-top">
<nav class="navbar navbar-expand-lg navbar-dark ">
<div class="navbar-container container-fluid">
<a class="navbar-brand" href="../index.html">
<span class="navbar-title">NCEAS Coding Club</span>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation" onclick="if (window.quartoToggleHeadroom) { window.quartoToggleHeadroom(); }">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav navbar-nav-scroll me-auto">
<li class="nav-item">
<a class="nav-link" href="../index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="../data_bytes.html">Data Bytes</a>
</li>
Expand Down Expand Up @@ -333,8 +328,7 @@ <h1 class="title">Creating a Basic For Loop</h1>
for (var i=0; i<noterefs.length; i++) {
const ref = noterefs[i];
tippyHover(ref, function() {
// use id or data attribute instead here
let href = ref.getAttribute('data-footnote-href') || ref.getAttribute('href');
let href = ref.getAttribute('href');
try { href = new URL(href).hash; } catch {}
const id = href.replace(/^#\/?/, "");
const note = window.document.getElementById(id);
Expand Down
Loading