COVID-19 Resource Gallery

[This article was first published on Mirai Solutions, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We have gathered interesting COVID-19 resources and made them easily accessible within a single gallery website.

The Data Science community is showing a great spirit of collaboration, extensively contributing to the understanding of the COVID-19 pandemic by finding new and creative ways to analyze, visualize and communicate data. Many such resources are popping up daily and we at Mirai Solutions have been inspired by many such works for our Covid19 Shiny app.

While working on updates and new releases of the app, we also realized the value of being able to gather and browse in one place the interesting resources we were coming across on social media, newspapers, GitHub etc. As data sets are constantly being updated, this also addresses the need to compare different data sources in a easy and quick way.

Such a need is now fulfilled by the COVID-19 Resource Gallery: an open source R Markdown website including a gallery of (embedded) pages created in a dynamic way based on simple metadata in JSON format.

The gallery website is built using a dedicated R Markdown site generator provided by the novel rmdgallery package hosted on GitHub:

<span class="n">remotes</span><span class="o">::</span><span class="n">install_github</span><span class="p">(</span><span class="s2">"riccardoporreca/rmdgallery"</span><span class="p">)</span><span class="w">
</span>

The entries of our gallery are listed as metadata in JSON format like the following for our Covid19 app

<span class="p">{</span><span class="w">
  </span><span class="nl">"mirai-covid-19"</span><span class="p">:</span><span class="w"> </span><span class="p">{</span><span class="w">
    </span><span class="nl">"title"</span><span class="p">:</span><span class="w">  </span><span class="s2">"Covid19 Shiny App"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"author"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Mirai Solutions GmbH"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"url"</span><span class="p">:</span><span class="w"> </span><span class="s2">"https://github.com/miraisolutions/Covid19#readme"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"menu_entry"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Mirai Covid19"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"template"</span><span class="p">:</span><span class="w"> </span><span class="s2">"embed-url"</span><span class="p">,</span><span class="w">
    </span><span class="nl">"content"</span><span class="p">:</span><span class="w"> </span><span class="s2">"https://miraisolutions.shinyapps.io/covid19"</span><span class="w">
  </span><span class="p">}</span><span class="w">
</span><span class="p">}</span><span class="w">
</span>

The rmdgallery::gallery_site generator allows to include the specified content (along with the other metadata) in the resulting gallery page using alternative templates. In the case above we are simply embedding the Covid19 Shiny app given its URL (see the template field), which is the typical case for including pages like dashboards and web apps.

The website is automatically built and deployed via GitHub Actions, and new gallery pages are simply added by pushing updated JSON metadata to the master branch.

The gallery currently features:

Do you like the idea and want to include your favorite COVID-19 resources in your own gallery? Feel free to fork our GitHub repository and see it live at username.github.io/covid-19-gallery!

To leave a comment for the author, please follow the link and comment on their blog: Mirai Solutions.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)