Skip to content

Commit

Permalink
Update rendered reader.
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-ulle committed Sep 12, 2022
1 parent 309a34c commit 5a42dbb
Show file tree
Hide file tree
Showing 57 changed files with 404 additions and 369 deletions.
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.
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.
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.
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.
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.
4 changes: 2 additions & 2 deletions docs/acknowledgements.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Nick Ulle" />


<meta name="date" content="2021-05-27" />
<meta name="date" content="2022-09-12" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand All @@ -33,7 +33,7 @@

<link rel="prev" href="where-to-learn-more.html"/>

<script src="libs/header-attrs-2.6/header-attrs.js"></script>
<script src="libs/header-attrs-2.10/header-attrs.js"></script>
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
Expand Down
206 changes: 103 additions & 103 deletions docs/cleaning-messy-data.html

Large diffs are not rendered by default.

56 changes: 35 additions & 21 deletions docs/data-structures.html

Large diffs are not rendered by default.

438 changes: 220 additions & 218 deletions docs/exploring-your-data.html

Large diffs are not rendered by default.

44 changes: 26 additions & 18 deletions docs/getting-started.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Nick Ulle" />


<meta name="date" content="2021-05-27" />
<meta name="date" content="2022-09-12" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand All @@ -33,7 +33,7 @@

<link rel="prev" href="index.html"/>
<link rel="next" href="data-structures.html"/>
<script src="libs/header-attrs-2.6/header-attrs.js"></script>
<script src="libs/header-attrs-2.10/header-attrs.js"></script>
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
Expand Down Expand Up @@ -710,7 +710,7 @@ <h3><span class="header-section-number">1.4.3</span> The Working Directory</h3>
<p>The function <code>getwd</code> returns the absolute path for the current working
directory, as a string. It doesn’t require any arguments:</p>
<div class="sourceCode" id="cb44"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb44-1"><a href="getting-started.html#cb44-1" aria-hidden="true" tabindex="-1"></a><span class="fu">getwd</span>()</span></code></pre></div>
<pre><code>## [1] &quot;/home/nick/workshop/datalab/workshop_r_basics&quot;</code></pre>
<pre><code>## [1] &quot;/home/nick/workshop/datalab/workshops/r_basics&quot;</code></pre>
<p>On your computer, the output from <code>getwd</code> will likely be different. This is a
very useful function for getting your bearings when you write relative paths.
If you write a relative path and it doesn’t work as expected, the first thing
Expand All @@ -721,7 +721,7 @@ <h3><span class="header-section-number">1.4.3</span> The Working Directory</h3>
<span id="cb46-2"><a href="getting-started.html#cb46-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb46-3"><a href="getting-started.html#cb46-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Now check the working directory.</span></span>
<span id="cb46-4"><a href="getting-started.html#cb46-4" aria-hidden="true" tabindex="-1"></a><span class="fu">getwd</span>()</span></code></pre></div>
<pre><code>## [1] &quot;/home/nick/workshop/datalab&quot;</code></pre>
<pre><code>## [1] &quot;/home/nick/workshop/datalab/workshops&quot;</code></pre>
<p>Generally, you should avoid using calls to <code>setwd</code> in your R scripts and R
Markdown files. Calling <code>setwd</code> makes your code more difficult to understand,
and can always be avoided by using appropriate relative paths. If you call
Expand All @@ -738,19 +738,20 @@ <h3><span class="header-section-number">1.4.3</span> The Working Directory</h3>
<pre><code>## [1] &quot;lost+found&quot; &quot;nick&quot;</code></pre>
<div class="sourceCode" id="cb50"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb50-1"><a href="getting-started.html#cb50-1" aria-hidden="true" tabindex="-1"></a><span class="co"># List files and directories in the working directory.</span></span>
<span id="cb50-2"><a href="getting-started.html#cb50-2" aria-hidden="true" tabindex="-1"></a><span class="fu">list.files</span>()</span></code></pre></div>
<pre><code>## [1] &quot;_bookdown_files&quot; &quot;_bookdown.yml&quot;
## [3] &quot;_main.rds&quot; &quot;01_r-basics.Rmd&quot;
## [5] &quot;02_data-structures.Rmd&quot; &quot;03_exploring-your-data_files&quot;
## [7] &quot;03_exploring-your-data.Rmd&quot; &quot;04_cleaning-messy-data.Rmd&quot;
## [9] &quot;97_where-to-learn-more.Rmd&quot; &quot;98_references.Rmd&quot;
## [11] &quot;99_acknowledgements.Rmd&quot; &quot;data&quot;
## [13] &quot;docs&quot; &quot;graphviz&quot;
## [15] &quot;img&quot; &quot;index.md&quot;
## [17] &quot;index.Rmd&quot; &quot;index.utf8.md&quot;
## [19] &quot;knit.R&quot; &quot;makefile&quot;
## [21] &quot;raw&quot; &quot;README.md&quot;
## [23] &quot;render19b9a7e9f4b2.rds&quot; &quot;renv&quot;
## [25] &quot;renv.lock&quot; &quot;video&quot;</code></pre>
<pre><code>## [1] &quot;_bookdown_files&quot; &quot;_bookdown.yml&quot;
## [3] &quot;_main.rds&quot; &quot;01_r-basics.md&quot;
## [5] &quot;01_r-basics.Rmd&quot; &quot;02_data-structures.md&quot;
## [7] &quot;02_data-structures.Rmd&quot; &quot;03_exploring-your-data_files&quot;
## [9] &quot;03_exploring-your-data.knit.md&quot; &quot;03_exploring-your-data.Rmd&quot;
## [11] &quot;04_cleaning-messy-data.Rmd&quot; &quot;97_where-to-learn-more.Rmd&quot;
## [13] &quot;99_acknowledgements.Rmd&quot; &quot;data&quot;
## [15] &quot;docs&quot; &quot;graphviz&quot;
## [17] &quot;img&quot; &quot;index.md&quot;
## [19] &quot;index.Rmd&quot; &quot;knit.R&quot;
## [21] &quot;LICENSE&quot; &quot;makefile&quot;
## [23] &quot;raw&quot; &quot;README.md&quot;
## [25] &quot;render64e2027df4499.rds&quot; &quot;renv&quot;
## [27] &quot;renv.lock&quot;</code></pre>
<p>As usual, since you have a different computer, you’re likely to see different
output if you run this code. If you call <code>list.files</code> with an invalid path or
an empty directory, the output is <code>character(0)</code>:</p>
Expand Down Expand Up @@ -779,7 +780,14 @@ <h2><span class="header-section-number">1.5</span> Reading Files</h2>
<p>Here are several formats that are frequently used to distribute data, along
with the name of a built-in function or contributed package that can read the
format:</p>
<table>
<table style="width:100%;">
<colgroup>
<col width="38%" />
<col width="12%" />
<col width="28%" />
<col width="12%" />
<col width="7%" />
</colgroup>
<thead>
<tr class="header">
<th align="left">Name</th>
Expand Down
6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Nick Ulle" />


<meta name="date" content="2021-05-27" />
<meta name="date" content="2022-09-12" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand All @@ -33,7 +33,7 @@


<link rel="next" href="getting-started.html"/>
<script src="libs/header-attrs-2.6/header-attrs.js"></script>
<script src="libs/header-attrs-2.10/header-attrs.js"></script>
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
Expand Down Expand Up @@ -275,7 +275,7 @@ <h1>
<h1 class="title">R Basics</h1>
<h2 class="subtitle"><em>An Introduction to Programming for Researchers</em></h2>
<p class="author"><em>Nick Ulle</em></p>
<p class="date"><em>2021-05-27</em></p>
<p class="date"><em>2022-09-12</em></p>
</div>
<div id="overview" class="section level1 unnumbered">
<h1>Overview</h1>
Expand Down
12 changes: 12 additions & 0 deletions docs/libs/header-attrs-2.10/header-attrs.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Pandoc 2.9 adds attributes on both header and div. We remove the former (to
// be compatible with the behavior of Pandoc < 2.8).
document.addEventListener('DOMContentLoaded', function(e) {
var hs = document.querySelectorAll("div.section[class*='level'] > :first-child");
var i, h, a;
for (i = 0; i < hs.length; i++) {
h = hs[i];
if (!/^h[1-6]$/i.test(h.tagName)) continue; // it should be a header h1-h6
a = h.attributes;
while (a.length > 0) h.removeAttribute(a[0].name);
}
});
2 changes: 1 addition & 1 deletion docs/search_index.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions docs/where-to-learn-more.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta name="author" content="Nick Ulle" />


<meta name="date" content="2021-05-27" />
<meta name="date" content="2022-09-12" />

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="apple-mobile-web-app-capable" content="yes" />
Expand All @@ -33,7 +33,7 @@

<link rel="prev" href="cleaning-messy-data.html"/>
<link rel="next" href="acknowledgements.html"/>
<script src="libs/header-attrs-2.6/header-attrs.js"></script>
<script src="libs/header-attrs-2.10/header-attrs.js"></script>
<script src="libs/jquery-2.2.3/jquery.min.js"></script>
<link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" />
<link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" />
Expand Down Expand Up @@ -311,7 +311,6 @@ <h1>Where to Learn More</h1>
about R.</li>
</ul>


</div>
</section>

Expand Down

0 comments on commit 5a42dbb

Please sign in to comment.