Skip to content

Commit

Permalink
built the book to incorporate changes from #13
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimbers committed Feb 13, 2024
1 parent 6d96c80 commit 9b58daa
Show file tree
Hide file tree
Showing 12 changed files with 706 additions and 606 deletions.
9 changes: 8 additions & 1 deletion docs/_sources/materials/lectures/07-scripts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@
"**It also makes your report files a lot cleaner!!!**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can find the code repository for this lesson here: <https://github.com/DSCI-310/2024-02-13-scripts>"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -338,7 +345,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the Gapminder `.csv`'s we saw in Block 1).\n",
"Let's make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the [Gapminder `.csv`'s](https://swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv)).\n",
"\n",
"\n",
"```\n",
Expand Down
3 changes: 2 additions & 1 deletion docs/materials/lectures/07-scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ <h3>Why write scripts?<a class="headerlink" href="#why-write-scripts" title="Per
<li><p>Record of what you have done!</p></li>
</ul>
<p><strong>It also makes your report files a lot cleaner!!!</strong></p>
<p>You can find the code repository for this lesson here: <a class="github reference external" href="https://github.com/DSCI-310/2024-02-13-scripts">DSCI-310/2024-02-13-scripts</a></p>
</section>
</section>
<section id="scripts-in-r">
Expand Down Expand Up @@ -664,7 +665,7 @@ <h3>Using command line arguments in R<a class="headerlink" href="#using-command-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Rscript</span> <span class="n">src</span><span class="o">/</span><span class="n">quick_titanic_col_mean</span><span class="o">.</span><span class="n">R</span> <span class="n">fare</span>
</pre></div>
</div>
<p>Let’s make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the Gapminder <code class="docutils literal notranslate"><span class="pre">.csv</span></code>’s we saw in Block 1).</p>
<p>Let’s make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the <a class="reference external" href="https://swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv">Gapminder <code class="docutils literal notranslate"><span class="pre">.csv</span></code>’s</a>).</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span># author: Tiffany Timbers
# date: 2020-01-15

Expand Down
2 changes: 1 addition & 1 deletion docs/searchindex.js

Large diffs are not rendered by default.

Binary file modified materials/_build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified materials/_build/.doctrees/materials/lectures/07-scripts.doctree
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@
"**It also makes your report files a lot cleaner!!!**"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"You can find the code repository for this lesson here: <https://github.com/DSCI-310/2024-02-13-scripts>"
]
},
{
"cell_type": "markdown",
"metadata": {
Expand Down Expand Up @@ -338,7 +345,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Let's make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the Gapminder `.csv`'s we saw in Block 1).\n",
"Let's make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the [Gapminder `.csv`'s](https://swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv)).\n",
"\n",
"\n",
"```\n",
Expand Down
3 changes: 2 additions & 1 deletion materials/_build/html/materials/lectures/07-scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ <h3>Why write scripts?<a class="headerlink" href="#why-write-scripts" title="Per
<li><p>Record of what you have done!</p></li>
</ul>
<p><strong>It also makes your report files a lot cleaner!!!</strong></p>
<p>You can find the code repository for this lesson here: <a class="github reference external" href="https://github.com/DSCI-310/2024-02-13-scripts">DSCI-310/2024-02-13-scripts</a></p>
</section>
</section>
<section id="scripts-in-r">
Expand Down Expand Up @@ -664,7 +665,7 @@ <h3>Using command line arguments in R<a class="headerlink" href="#using-command-
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">Rscript</span> <span class="n">src</span><span class="o">/</span><span class="n">quick_titanic_col_mean</span><span class="o">.</span><span class="n">R</span> <span class="n">fare</span>
</pre></div>
</div>
<p>Let’s make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the Gapminder <code class="docutils literal notranslate"><span class="pre">.csv</span></code>’s we saw in Block 1).</p>
<p>Let’s make our script even more flexible, and let us specify that dataset as well (we could then use it more generally on other files, such as the <a class="reference external" href="https://swcarpentry.github.io/r-novice-gapminder/data/gapminder-FiveYearData.csv">Gapminder <code class="docutils literal notranslate"><span class="pre">.csv</span></code>’s</a>).</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span># author: Tiffany Timbers
# date: 2020-01-15

Expand Down
2 changes: 1 addition & 1 deletion materials/_build/html/searchindex.js

Large diffs are not rendered by default.

0 comments on commit 9b58daa

Please sign in to comment.