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 Oct 1, 2024
1 parent acdd940 commit f7c10a3
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 60 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3e7206df
b16a9076
61 changes: 32 additions & 29 deletions mod_data-disc.html
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#panel-discussion" id="toc-panel-discussion" class="nav-link" data-scroll-target="#panel-discussion">Panel Discussion</a></li>
<li><a href="#data-repositories" id="toc-data-repositories" class="nav-link" data-scroll-target="#data-repositories">Data Repositories</a></li>
<li><a href="#general-data-searches" id="toc-general-data-searches" class="nav-link" data-scroll-target="#general-data-searches">General Data Searches</a></li>
<li><a href="#data-inventory-value" id="toc-data-inventory-value" class="nav-link" data-scroll-target="#data-inventory-value">Data Inventory Value</a></li>
<li><a href="#downloading-data" id="toc-downloading-data" class="nav-link" data-scroll-target="#downloading-data">Downloading Data</a></li>
<li><a href="#data-format-and-structure" id="toc-data-format-and-structure" class="nav-link" data-scroll-target="#data-format-and-structure">Data format and structure</a></li>
<li><a href="#additional-resources" id="toc-additional-resources" class="nav-link" data-scroll-target="#additional-resources">Additional Resources</a>
Expand Down Expand Up @@ -576,25 +577,27 @@ <h4 class="anchored" data-anchor-id="search-operators">Search Operators</h4>
</div>
</div>
</div>
</section>
</section>
<section id="data-inventory-value" class="level2">
<h2 class="anchored" data-anchor-id="data-inventory-value">Data Inventory Value</h2>
<p>Documenting potential datasets (and their metadata) thoroughly in a data inventory provides numerous benefits! These include:</p>
<ul>
<li>Well-documented datasets make it easier for researchers to find and access specific data for reproducible research</li>
<li>Documentation will help researchers to quickly understand the context, scope, and limitations of the data, reducing the time spent on preliminary data assessment</li>
<li>Detailed documentation will speed up the data publication process (e.g., data provenance, the difference among methods, etc.)</li>
<li>When you need to generate metadata for your own synthesis data product you’ll already have much of the information you need</li>
</ul>
<div class="callout callout-style-default callout-note no-icon callout-titled">
<div class="callout-header d-flex align-content-center">
<div class="callout-icon-container">
<i class="callout-icon no-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Data Inventory Value
Activity: Data Inventory
</div>
</div>
<div class="callout-body-container callout-body">
<p>Documenting potential datasets (and their metadata) thoroughly in a data inventory provides numerous benefits! These include:</p>
<ul>
<li>Well-documented datasets make it easier for researchers to find and access specific data for reproducible research</li>
<li>Documentation will help researchers to quickly understand the context, scope, and limitations of the data, reducing the time spent on preliminary data assessment</li>
<li>Detailed documentation will speed up the data publication process (e.g., data provenance, the difference among methods, etc.)</li>
<li>When you need to generate metadata for your own synthesis data product you’ll already have much of the information you need</li>
</ul>
<section id="activity-data-inventory" class="level4">
<h4 class="anchored" data-anchor-id="activity-data-inventory">Activity: Data Inventory</h4>
<p><strong>Part 1</strong> (~25 min)</p>
<p>In your project groups:</p>
<ul>
Expand All @@ -620,7 +623,6 @@ <h4 class="anchored" data-anchor-id="activity-data-inventory">Activity: Data Inv
<li>Do you agree with the information entered in the data inventory?</li>
<li>Is there any information you think should be in the data inventory that wasn’t?</li>
</ul>
</section>
</div>
</div>
<div class="callout callout-style-default callout-warning no-icon callout-titled">
Expand All @@ -642,7 +644,6 @@ <h4 class="anchored" data-anchor-id="activity-data-inventory">Activity: Data Inv
</div>
</div>
</section>
</section>
<section id="downloading-data" class="level2">
<h2 class="anchored" data-anchor-id="downloading-data">Downloading Data</h2>
<p>Once you’ve found data, filled out your data inventory, and decided which datasets you actually want, it’s time to download some of them! There are several methods you can use and it’s possible that each won’t work in all cases so it’s important to be at least somewhat familiar with several of these tools.</p>
Expand Down Expand Up @@ -840,7 +841,7 @@ <h2 class="anchored" data-anchor-id="downloading-data">Downloading Data</h2>
<i class="callout-icon no-icon"></i>
</div>
<div class="callout-title-container flex-fill">
Activity: Data Download
Activity: Data Download (~25 mins)
</div>
</div>
<div class="callout-body-container callout-body">
Expand All @@ -853,7 +854,7 @@ <h2 class="anchored" data-anchor-id="downloading-data">Downloading Data</h2>
<li>Write a script <strong>for your group</strong> to download data using your chosen method</li>
<li>Zoom rooms for each download method will be available. You are encouraged to join the room that corresponds to your chosen method to discuss with others working on the same approach.
<ul>
<li>If no datasets in your group’s inventory need the download method you chose, try to run the example code included below</li>
<li>If no datasets in your group’s inventory need the download method you chose, try to run the example codes provided</li>
</ul></li>
</ul>
</div>
Expand All @@ -864,24 +865,26 @@ <h2 class="anchored" data-anchor-id="data-format-and-structure">Data format and
<p>CSV and TXT are common formats for data storage. In addition, formats like NetCDF, HDF5, Matlab, and Rdata/RDS are frequently used in research, along with spatial datasets such as geotiff, shapefiles, and raster files (refer to the spatial module for more details).</p>
<p>In the R environment, data structure are typically checked using the following functions.</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(dplyr)</span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a><span class="co"># Define URL as an object</span></span>
<span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a>dt_url <span class="ot">&lt;-</span> <span class="st">"https://pasta.lternet.edu/package/data/eml/knb-lter-sbc/77/10/f32823fba432f58f66c06b589b7efac6"</span> </span>
<span id="cb4-5"><a href="#cb4-5" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-6"><a href="#cb4-6" aria-hidden="true" tabindex="-1"></a><span class="co"># Read it into R</span></span>
<span id="cb4-7"><a href="#cb4-7" aria-hidden="true" tabindex="-1"></a>lobster_df <span class="ot">&lt;-</span> <span class="fu">read.csv</span>(<span class="at">file =</span> dt_url,<span class="at">na=</span><span class="sc">-</span><span class="dv">99999</span>)</span>
<span id="cb4-8"><a href="#cb4-8" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-9"><a href="#cb4-9" aria-hidden="true" tabindex="-1"></a><span class="co"># Check the structure of the data</span></span>
<span id="cb4-10"><a href="#cb4-10" aria-hidden="true" tabindex="-1"></a><span class="fu">head</span>(lobster_df)</span>
<span id="cb4-11"><a href="#cb4-11" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-12"><a href="#cb4-12" aria-hidden="true" tabindex="-1"></a><span class="fu">summary</span>(lobster_df)</span>
<div class="sourceCode cell-code" id="cb4"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Load needed packages</span></span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="do">## install.packages("librarian")</span></span>
<span id="cb4-3"><a href="#cb4-3" aria-hidden="true" tabindex="-1"></a>librarian<span class="sc">::</span><span class="fu">shelf</span>(tidyverse)</span>
<span id="cb4-4"><a href="#cb4-4" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-5"><a href="#cb4-5" aria-hidden="true" tabindex="-1"></a><span class="co"># Define URL as an object</span></span>
<span id="cb4-6"><a href="#cb4-6" aria-hidden="true" tabindex="-1"></a>dt_url <span class="ot">&lt;-</span> <span class="st">"https://pasta.lternet.edu/package/data/eml/knb-lter-sbc/77/10/f32823fba432f58f66c06b589b7efac6"</span> </span>
<span id="cb4-7"><a href="#cb4-7" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-8"><a href="#cb4-8" aria-hidden="true" tabindex="-1"></a><span class="co"># Read it into R</span></span>
<span id="cb4-9"><a href="#cb4-9" aria-hidden="true" tabindex="-1"></a>lobster_df <span class="ot">&lt;-</span> <span class="fu">read.csv</span>(<span class="at">file =</span> dt_url,<span class="at">na=</span><span class="sc">-</span><span class="dv">99999</span>)</span>
<span id="cb4-10"><a href="#cb4-10" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-11"><a href="#cb4-11" aria-hidden="true" tabindex="-1"></a><span class="co"># Check the structure of the data</span></span>
<span id="cb4-12"><a href="#cb4-12" aria-hidden="true" tabindex="-1"></a><span class="fu">head</span>(lobster_df)</span>
<span id="cb4-13"><a href="#cb4-13" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-14"><a href="#cb4-14" aria-hidden="true" tabindex="-1"></a><span class="fu">str</span>(lobster_df)</span>
<span id="cb4-14"><a href="#cb4-14" aria-hidden="true" tabindex="-1"></a><span class="fu">summary</span>(lobster_df)</span>
<span id="cb4-15"><a href="#cb4-15" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-16"><a href="#cb4-16" aria-hidden="true" tabindex="-1"></a><span class="fu">glimpse</span>(lobster_df)</span>
<span id="cb4-16"><a href="#cb4-16" aria-hidden="true" tabindex="-1"></a><span class="fu">str</span>(lobster_df)</span>
<span id="cb4-17"><a href="#cb4-17" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-18"><a href="#cb4-18" aria-hidden="true" tabindex="-1"></a><span class="fu">anyNA</span>(lobster_df)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb4-18"><a href="#cb4-18" aria-hidden="true" tabindex="-1"></a><span class="fu">glimpse</span>(lobster_df)</span>
<span id="cb4-19"><a href="#cb4-19" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb4-20"><a href="#cb4-20" aria-hidden="true" tabindex="-1"></a><span class="fu">anyNA</span>(lobster_df)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</section>
<section id="additional-resources" class="level2">
Expand Down
Loading

0 comments on commit f7c10a3

Please sign in to comment.