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 Apr 30, 2024
1 parent 4e28103 commit 977a3bc
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2adbb7f6
f8a257f5
49 changes: 41 additions & 8 deletions mod_interactivity.html
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,11 @@ <h2 id="toc-title">On this page</h2>
<li><a href="#overview" id="toc-overview" class="nav-link active" data-scroll-target="#overview">Overview</a></li>
<li><a href="#learning-objectives" id="toc-learning-objectives" class="nav-link" data-scroll-target="#learning-objectives">Learning Objectives</a></li>
<li><a href="#needed-packages" id="toc-needed-packages" class="nav-link" data-scroll-target="#needed-packages">Needed Packages</a></li>
<li><a href="#module-content" id="toc-module-content" class="nav-link" data-scroll-target="#module-content">Module Content</a></li>
<li><a href="#shiny-fundamentals" id="toc-shiny-fundamentals" class="nav-link" data-scroll-target="#shiny-fundamentals">Shiny Fundamentals</a></li>
<li><a href="#including-data" id="toc-including-data" class="nav-link" data-scroll-target="#including-data">Including Data</a></li>
<li><a href="#text-formatting" id="toc-text-formatting" class="nav-link" data-scroll-target="#text-formatting">Text Formatting</a></li>
<li><a href="#layouts" id="toc-layouts" class="nav-link" data-scroll-target="#layouts">Layouts</a></li>
<li><a href="#deployment" id="toc-deployment" class="nav-link" data-scroll-target="#deployment">Deployment</a></li>
<li><a href="#additional-interactivity-resources" id="toc-additional-interactivity-resources" class="nav-link" data-scroll-target="#additional-interactivity-resources">Additional Interactivity Resources</a>
<ul class="collapse">
<li><a href="#papers-documents" id="toc-papers-documents" class="nav-link" data-scroll-target="#papers-documents">Papers &amp; Documents</a></li>
Expand Down Expand Up @@ -402,15 +406,21 @@ <h1 class="title">Creating Interactive Apps</h1>

<section id="overview" class="level2">
<h2 class="anchored" data-anchor-id="overview">Overview</h2>
<p>Under Construction</p>
<p>Shiny is a popular tool that allows users to build interactive web applications without the normally pre-requisite web development expertise. In addition to Shiny apps being simpler to build for the programmer they are often used to allow visitors to perform coding tasks without ever actually writing code. These are huge advantages because they reduce or eliminate significant technical barriers in developing truly interactive applications.</p>
<p>In synthesis contexts, Shiny can be used for a variety of valuable purposes. You can use it to develop dashboards for sharing data with related communities, allow your team to quickly “play with” exploratory graphs, or even to create a data submission portal (as is the case with some <u>R</u>esearch <u>C</u>oordination <u>N</u>etworks or “RCNs”).</p>
<p>Note that Shiny can be built in either R or Python ‘under the hood’ but for the purposes of this module we’ll focus on R.</p>
</section>
<section id="learning-objectives" class="level2">
<h2 class="anchored" data-anchor-id="learning-objectives">Learning Objectives</h2>
<p>After completing this topic you will be able to:</p>
<ul>
<li><u>Define</u> the three fundamental components of an R Shiny app</li>
<li><u>Define</u> the three fundamental components of a Shiny app</li>
<li><u>Explain</u> benefits and limitations of interactive approaches to data exploration</li>
<li><u>Create</u> an R Shiny app for interacting with a dataset</li>
<li><u>Generate</u> an interactive app with Shiny</li>
<li><u>Use</u> text formatting methods in a Shiny app</li>
<li><u>Explore</u> available Shiny layout options</li>
<li><u>Create</u> a Shiny app</li>
<li><u>Describe</u> (briefly) the purpose of deploying a Shiny app</li>
</ul>
</section>
<section id="needed-packages" class="level2">
Expand All @@ -419,11 +429,33 @@ <h2 class="anchored" data-anchor-id="needed-packages">Needed Packages</h2>
<div class="cell">
<div class="sourceCode cell-code" id="cb1"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb1-1"><a href="#cb1-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Note that these lines only need to be run once per computer</span></span>
<span id="cb1-2"><a href="#cb1-2" aria-hidden="true" tabindex="-1"></a><span class="do">## So you can skip this step if you've installed these before</span></span>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">"tidyverse"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<span id="cb1-3"><a href="#cb1-3" aria-hidden="true" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">"tidyverse"</span>)</span>
<span id="cb1-4"><a href="#cb1-4" aria-hidden="true" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">"shiny"</span>)</span>
<span id="cb1-5"><a href="#cb1-5" aria-hidden="true" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">"htmltools"</span>)</span>
<span id="cb1-6"><a href="#cb1-6" aria-hidden="true" tabindex="-1"></a><span class="fu">install.packages</span>(<span class="st">"lterdatasampler"</span>)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
<p>We’ll load the Tidyverse meta-package here to have access to many of its useful tools when we need them later.</p>
<div class="cell">
<div class="sourceCode cell-code" id="cb2"><pre class="sourceCode r code-with-copy"><code class="sourceCode r"><span id="cb2-1"><a href="#cb2-1" aria-hidden="true" tabindex="-1"></a><span class="co"># Load tidyverse</span></span>
<span id="cb2-2"><a href="#cb2-2" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tidyverse)</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
</div>
</section>
<section id="shiny-fundamentals" class="level2">
<h2 class="anchored" data-anchor-id="shiny-fundamentals">Shiny Fundamentals</h2>
</section>
<section id="including-data" class="level2">
<h2 class="anchored" data-anchor-id="including-data">Including Data</h2>
</section>
<section id="module-content" class="level2">
<h2 class="anchored" data-anchor-id="module-content">Module Content</h2>
<section id="text-formatting" class="level2">
<h2 class="anchored" data-anchor-id="text-formatting">Text Formatting</h2>
</section>
<section id="layouts" class="level2">
<h2 class="anchored" data-anchor-id="layouts">Layouts</h2>
</section>
<section id="deployment" class="level2">
<h2 class="anchored" data-anchor-id="deployment">Deployment</h2>
<p>When Shiny apps are only being used by those in your team, keeping them as a code script works well. However, if you’d like those outside of your team to be able to find your app as they would any other website you’ll need to <u>deploy</u> your Shiny app. This process is outside of the scope of this module but is often the end goal of Shiny app development.</p>
<p>Take a look at <a href="https://shiny.posit.co/r/articles/share/deployment-web/">Posit’s instructions for deployment</a> for more details but essentially “deployment” is the process of getting your local app hosted on shinyapps.io which gives it a link that anyone can use to access/run your app on their web browser of choice.</p>
</section>
<section id="additional-interactivity-resources" class="level2">
<h2 class="anchored" data-anchor-id="additional-interactivity-resources">Additional Interactivity Resources</h2>
Expand All @@ -436,13 +468,14 @@ <h3 class="anchored" data-anchor-id="papers-documents">Papers &amp; Documents</h
<section id="workshops-courses" class="level3">
<h3 class="anchored" data-anchor-id="workshops-courses">Workshops &amp; Courses</h3>
<ul>
<li>Posit’s <a href="https://shiny.posit.co/r/getstarted/shiny-basics/lesson1/index.html">Welcome to Shiny</a> (for R coders)</li>
<li>2022 All Scientists’ Meeting <a href="https://njlyon0.github.io/asm-2022_shiny-workshop/">Shiny Apps for Sharing Science</a> workshop</li>
</ul>
</section>
<section id="websites" class="level3">
<h3 class="anchored" data-anchor-id="websites">Websites</h3>
<ul>
<li></li>
<li>Posit’s <a href="https://shiny.posit.co/">Shiny</a> website</li>
</ul>


Expand Down
62 changes: 53 additions & 9 deletions search.json
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,7 @@
"href": "mod_interactivity.html",
"title": "Creating Interactive Apps",
"section": "",
"text": "Under Construction",
"text": "Shiny is a popular tool that allows users to build interactive web applications without the normally pre-requisite web development expertise. In addition to Shiny apps being simpler to build for the programmer they are often used to allow visitors to perform coding tasks without ever actually writing code. These are huge advantages because they reduce or eliminate significant technical barriers in developing truly interactive applications.\nIn synthesis contexts, Shiny can be used for a variety of valuable purposes. You can use it to develop dashboards for sharing data with related communities, allow your team to quickly “play with” exploratory graphs, or even to create a data submission portal (as is the case with some Research Coordination Networks or “RCNs”).\nNote that Shiny can be built in either R or Python ‘under the hood’ but for the purposes of this module we’ll focus on R.",
"crumbs": [
"Bonus Modules",
"Interactivity"
Expand All @@ -776,7 +776,7 @@
"href": "mod_interactivity.html#overview",
"title": "Creating Interactive Apps",
"section": "",
"text": "Under Construction",
"text": "Shiny is a popular tool that allows users to build interactive web applications without the normally pre-requisite web development expertise. In addition to Shiny apps being simpler to build for the programmer they are often used to allow visitors to perform coding tasks without ever actually writing code. These are huge advantages because they reduce or eliminate significant technical barriers in developing truly interactive applications.\nIn synthesis contexts, Shiny can be used for a variety of valuable purposes. You can use it to develop dashboards for sharing data with related communities, allow your team to quickly “play with” exploratory graphs, or even to create a data submission portal (as is the case with some Research Coordination Networks or “RCNs”).\nNote that Shiny can be built in either R or Python ‘under the hood’ but for the purposes of this module we’ll focus on R.",
"crumbs": [
"Bonus Modules",
"Interactivity"
Expand All @@ -787,7 +787,7 @@
"href": "mod_interactivity.html#learning-objectives",
"title": "Creating Interactive Apps",
"section": "Learning Objectives",
"text": "Learning Objectives\nAfter completing this topic you will be able to:\n\nDefine the three fundamental components of an R Shiny app\nExplain benefits and limitations of interactive approaches to data exploration\nCreate an R Shiny app for interacting with a dataset",
"text": "Learning Objectives\nAfter completing this topic you will be able to:\n\nDefine the three fundamental components of a Shiny app\nExplain benefits and limitations of interactive approaches to data exploration\nGenerate an interactive app with Shiny\nUse text formatting methods in a Shiny app\nExplore available Shiny layout options\nCreate a Shiny app\nDescribe (briefly) the purpose of deploying a Shiny app",
"crumbs": [
"Bonus Modules",
"Interactivity"
Expand All @@ -798,18 +798,62 @@
"href": "mod_interactivity.html#needed-packages",
"title": "Creating Interactive Apps",
"section": "Needed Packages",
"text": "Needed Packages\nIf you’d like to follow along with the code chunks included throughout this module, you’ll need to install the following packages:\n\n# Note that these lines only need to be run once per computer\n## So you can skip this step if you've installed these before\ninstall.packages(\"tidyverse\")",
"text": "Needed Packages\nIf you’d like to follow along with the code chunks included throughout this module, you’ll need to install the following packages:\n\n# Note that these lines only need to be run once per computer\n## So you can skip this step if you've installed these before\ninstall.packages(\"tidyverse\")\ninstall.packages(\"shiny\")\ninstall.packages(\"htmltools\")\ninstall.packages(\"lterdatasampler\")\n\nWe’ll load the Tidyverse meta-package here to have access to many of its useful tools when we need them later.\n\n# Load tidyverse\nlibrary(tidyverse)",
"crumbs": [
"Bonus Modules",
"Interactivity"
]
},
{
"objectID": "mod_interactivity.html#module-content",
"href": "mod_interactivity.html#module-content",
"objectID": "mod_interactivity.html#shiny-fundamentals",
"href": "mod_interactivity.html#shiny-fundamentals",
"title": "Creating Interactive Apps",
"section": "Module Content",
"text": "Module Content",
"section": "Shiny Fundamentals",
"text": "Shiny Fundamentals",
"crumbs": [
"Bonus Modules",
"Interactivity"
]
},
{
"objectID": "mod_interactivity.html#including-data",
"href": "mod_interactivity.html#including-data",
"title": "Creating Interactive Apps",
"section": "Including Data",
"text": "Including Data",
"crumbs": [
"Bonus Modules",
"Interactivity"
]
},
{
"objectID": "mod_interactivity.html#text-formatting",
"href": "mod_interactivity.html#text-formatting",
"title": "Creating Interactive Apps",
"section": "Text Formatting",
"text": "Text Formatting",
"crumbs": [
"Bonus Modules",
"Interactivity"
]
},
{
"objectID": "mod_interactivity.html#layouts",
"href": "mod_interactivity.html#layouts",
"title": "Creating Interactive Apps",
"section": "Layouts",
"text": "Layouts",
"crumbs": [
"Bonus Modules",
"Interactivity"
]
},
{
"objectID": "mod_interactivity.html#deployment",
"href": "mod_interactivity.html#deployment",
"title": "Creating Interactive Apps",
"section": "Deployment",
"text": "Deployment\nWhen Shiny apps are only being used by those in your team, keeping them as a code script works well. However, if you’d like those outside of your team to be able to find your app as they would any other website you’ll need to deploy your Shiny app. This process is outside of the scope of this module but is often the end goal of Shiny app development.\nTake a look at Posit’s instructions for deployment for more details but essentially “deployment” is the process of getting your local app hosted on shinyapps.io which gives it a link that anyone can use to access/run your app on their web browser of choice.",
"crumbs": [
"Bonus Modules",
"Interactivity"
Expand All @@ -820,7 +864,7 @@
"href": "mod_interactivity.html#additional-interactivity-resources",
"title": "Creating Interactive Apps",
"section": "Additional Interactivity Resources",
"text": "Additional Interactivity Resources\n\nPapers & Documents\n\n\n\n\n\nWorkshops & Courses\n\n2022 All Scientists’ Meeting Shiny Apps for Sharing Science workshop\n\n\n\nWebsites",
"text": "Additional Interactivity Resources\n\nPapers & Documents\n\n\n\n\n\nWorkshops & Courses\n\nPosit’s Welcome to Shiny (for R coders)\n2022 All Scientists’ Meeting Shiny Apps for Sharing Science workshop\n\n\n\nWebsites\n\nPosit’s Shiny website",
"crumbs": [
"Bonus Modules",
"Interactivity"
Expand Down
38 changes: 19 additions & 19 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,78 +2,78 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://lter.github.io/ssecr/mod_thinking.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_project-mgmt.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/CONTRIBUTING.html</loc>
<lastmod>2024-04-30T14:00:56.307Z</lastmod>
<lastmod>2024-04-30T14:37:50.029Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_data-disc.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_team-sci.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_spatial.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_stats.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_reproducibility.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_facilitation.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_version-control.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/policy_ai.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_next-steps.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_data-viz.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_findings.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_interactivity.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_credit.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_wrangle.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/index.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.057Z</lastmod>
</url>
<url>
<loc>https://lter.github.io/ssecr/mod_reports.html</loc>
<lastmod>2024-04-30T14:00:56.339Z</lastmod>
<lastmod>2024-04-30T14:37:50.061Z</lastmod>
</url>
</urlset>

0 comments on commit 977a3bc

Please sign in to comment.