Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
7yl4r committed Jan 8, 2025
1 parent 62231d9 commit 756e2ad
Show file tree
Hide file tree
Showing 9 changed files with 749 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e88e6270
18a73d1b
682 changes: 682 additions & 0 deletions doi-reports/doi-report-template.html

Large diffs are not rendered by default.

36 changes: 36 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,42 @@ <h1 class="title">MBON Data Report(s)</h1>
<script type="application/json" data-for="htmlwidget-c447df0888b4eadc7fa3">{"x":{"links":{"source":[0,1,2,3,3,3,3,3,3,4,4,4,4,4,4,4,4,5,5,5,5,1,2,2,3,4,6,7,7,7,7,7,7,7,7,7,7,7,7,8,8,8,8,8,9,9,10,10,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14],"target":[15,15,15,15,15,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,17,0,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,1,14,18,18,1,0,14,2,2,14,14,2,2,14,14,14,14,14,14,14,14,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,14,14],"value":[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]},"nodes":{"name":["SECOORA, GCOOS","NERACOOS","GCOOS","SCCOOS","AOOS","CeNCOOS","All - this is a global dataset","Arctic","Central California","Coastal New England","GLOS MBON","Gulf of Maine","SE US","Southern California Bight","","in ERDDAP","in OBIS","in NCEI","GLOS, None"],"group":["SECOORA, GCOOS","NERACOOS","GCOOS","SCCOOS","AOOS","CeNCOOS","All - this is a global dataset","Arctic","Central California","Coastal New England","GLOS MBON","Gulf of Maine","SE US","Southern California Bight","","in ERDDAP","in OBIS","in NCEI","GLOS, None"]},"options":{"NodeID":"name","NodeGroup":"name","LinkGroup":null,"colourScale":"d3.scaleOrdinal(d3.schemeCategory20);","fontSize":7,"fontFamily":null,"nodeWidth":15,"nodePadding":10,"units":"","margin":{"top":null,"right":null,"bottom":null,"left":null},"iterations":32,"sinksRight":false}},"evals":[],"jsHooks":[]}</script>
</div>
</div>
<div class="cell">
<details class="code-fold">
<summary>show counts for standard publication metrics</summary>
<div class="sourceCode cell-code" id="cb5"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb5-1"><a href="#cb5-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(ggplot2)</span>
<span id="cb5-2"><a href="#cb5-2" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(dplyr)</span>
<span id="cb5-3"><a href="#cb5-3" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tidyr)</span>
<span id="cb5-4"><a href="#cb5-4" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-5"><a href="#cb5-5" aria-hidden="true" tabindex="-1"></a><span class="fu">source</span>(<span class="fu">here</span>(<span class="st">"R/getCleanedData.R"</span>))</span>
<span id="cb5-6"><a href="#cb5-6" aria-hidden="true" tabindex="-1"></a>data <span class="ot">&lt;-</span> <span class="fu">getCleanedData</span>()</span>
<span id="cb5-7"><a href="#cb5-7" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-8"><a href="#cb5-8" aria-hidden="true" tabindex="-1"></a><span class="co"># Select columns to analyze</span></span>
<span id="cb5-9"><a href="#cb5-9" aria-hidden="true" tabindex="-1"></a>columns_to_check <span class="ot">&lt;-</span> <span class="fu">c</span>(</span>
<span id="cb5-10"><a href="#cb5-10" aria-hidden="true" tabindex="-1"></a> <span class="st">"erddap_link"</span>, <span class="st">"ncei_link"</span>, <span class="st">"code_link"</span>, <span class="st">"obis_link"</span>, <span class="st">"doi"</span>, <span class="st">"web_link"</span></span>
<span id="cb5-11"><a href="#cb5-11" aria-hidden="true" tabindex="-1"></a>)</span>
<span id="cb5-12"><a href="#cb5-12" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-13"><a href="#cb5-13" aria-hidden="true" tabindex="-1"></a><span class="co"># Count non-empty values for each column</span></span>
<span id="cb5-14"><a href="#cb5-14" aria-hidden="true" tabindex="-1"></a>summary_df <span class="ot">&lt;-</span> data <span class="sc">%&gt;%</span></span>
<span id="cb5-15"><a href="#cb5-15" aria-hidden="true" tabindex="-1"></a> <span class="fu">summarise</span>(<span class="fu">across</span>(<span class="fu">all_of</span>(columns_to_check), <span class="sc">~</span> <span class="fu">sum</span>(<span class="sc">!</span><span class="fu">is.na</span>(.) <span class="sc">&amp;</span> . <span class="sc">!=</span> <span class="st">""</span>))) <span class="sc">%&gt;%</span></span>
<span id="cb5-16"><a href="#cb5-16" aria-hidden="true" tabindex="-1"></a> <span class="fu">pivot_longer</span>(<span class="at">cols =</span> <span class="fu">everything</span>(), <span class="at">names_to =</span> <span class="st">"Column"</span>, <span class="at">values_to =</span> <span class="st">"NonEmptyCount"</span>)</span>
<span id="cb5-17"><a href="#cb5-17" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb5-18"><a href="#cb5-18" aria-hidden="true" tabindex="-1"></a><span class="co"># Plot the bar chart</span></span>
<span id="cb5-19"><a href="#cb5-19" aria-hidden="true" tabindex="-1"></a><span class="fu">ggplot</span>(summary_df, <span class="fu">aes</span>(<span class="at">x =</span> Column, <span class="at">y =</span> NonEmptyCount)) <span class="sc">+</span></span>
<span id="cb5-20"><a href="#cb5-20" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_bar</span>(<span class="at">stat =</span> <span class="st">"identity"</span>, <span class="at">fill =</span> <span class="st">"steelblue"</span>) <span class="sc">+</span></span>
<span id="cb5-21"><a href="#cb5-21" aria-hidden="true" tabindex="-1"></a> <span class="fu">labs</span>(<span class="at">title =</span> <span class="st">"N Datasets Published by Repository"</span>,</span>
<span id="cb5-22"><a href="#cb5-22" aria-hidden="true" tabindex="-1"></a> <span class="at">x =</span> <span class="st">"Publication Type"</span>,</span>
<span id="cb5-23"><a href="#cb5-23" aria-hidden="true" tabindex="-1"></a> <span class="at">y =</span> <span class="st">"Number of Datasets"</span>) <span class="sc">+</span></span>
<span id="cb5-24"><a href="#cb5-24" aria-hidden="true" tabindex="-1"></a> <span class="fu">theme_minimal</span>()</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</details>
<div class="cell-output-display">
<div>
<figure class="figure">
<p><img src="index_files/figure-html/unnamed-chunk-5-1.png" class="img-fluid figure-img" width="672"></p>
</figure>
</div>
</div>
</div>



Expand Down
Binary file added index_files/figure-html/unnamed-chunk-5-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 8 additions & 8 deletions regional_report/regional_reports.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h1 class="title">Project Reports</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="1726162772632" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="0" data-listing-file-modified-sort="1736374132923" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/All - this is a global dataset.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -239,7 +239,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="1726162772638" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="1" data-listing-file-modified-sort="1736374132926" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/Arctic.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -270,7 +270,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="1726162772683" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="2" data-listing-file-modified-sort="1736374132928" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/Central California.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -301,7 +301,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="1726162772689" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="3" data-listing-file-modified-sort="1736374132965" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/Coastal New England.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -332,7 +332,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="1726162772693" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="4" data-listing-file-modified-sort="1736374132967" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/GLOS MBON.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -363,7 +363,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="1726162772697" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="5" data-listing-file-modified-sort="1736374132970" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/Gulf of Maine.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -394,7 +394,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="1726162772702" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="6" data-listing-file-modified-sort="1736374132972" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/SE US.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down Expand Up @@ -425,7 +425,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="1726162772707" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<div class="g-col-1" data-index="7" data-listing-file-modified-sort="1736374132975" data-listing-reading-time-sort="8" data-listing-word-count-sort="1440">
<a href="../regional_report/regional_reports/Southern California Bight.html" class="quarto-grid-link">
<div class="quarto-grid-item card h-100 card-left">
<div class="listing-item-img-placeholder card-img-top" style="height: 150px;">&nbsp;</div>
Expand Down
Loading

0 comments on commit 756e2ad

Please sign in to comment.