Shiny for Good: R Shiny Projects with a Positive Impact
<strong>Dashboards created in R Shiny</strong> generate insights that empower businesses to improve processes, initiatives, and innovations. But Shiny is not only a business intelligence tool. It can serve many goals and act as <strong>a tool for good</strong>. <blockquote>Learn more about how <a href="http://appsilon.com" target="_blank" rel="noopener">Appsilon</a> is using <a href="http://appsilon.com/data-for-good/" target="_blank" rel="noopener">Data for Good</a>.</blockquote> Bespoke visualizations are critical for effective planning, monitoring, and policy making. Simply put, using Shiny you can create <strong>interactive and engaging visual</strong> <strong>tools</strong> that help you turn data into action. From machine learning applications to real-time habitat monitoring, the approachable nature and healthy open-source ecosystem of R and Shiny let researchers, policy-makers, and citizen scientists share and make sense of their data. Below we've listed just a few interesting examples of the many existing <strong>R Shiny dashboards used to create a positive impact</strong>: <ul><li><a href="#forests">Future Forests</a></li><li><a href="#peskas">Peskas - Sustainable Fisheries Development</a></li><li><a href="#respiratory">Respiratory Disease</a></li><li><a href="#fossil">Fossil Fuel Tracker</a></li><li><a href="#mbaza">Mbaza Shiny App</a></li><li><a href="#tbd">Health Equity Assessment Toolkit (HEAT)</a></li><li><a href="#posit">Visualizing Biodiversity in National Parks</a></li><li><a href="#start">How to get started with R Shiny</a></li></ul> <hr /> <h2>Examples of Shiny for Good Projects</h2> Shiny can be used across every conceivable field, from <a href="https://appsilon.com/r-shiny-in-agriculture-examples/" target="_blank" rel="noopener">Agriculture</a> to the <a href="https://appsilon.com/r-shiny-in-life-sciences-examples/" target="_blank" rel="noopener">Life Sciences</a>. It's also used for <a href="https://appsilon.com/why-you-should-use-r-shiny-for-enterprise-application-development/" target="_blank" rel="noopener">enterprises</a>, non-profits, NGOs, and <a href="https://appsilon.com/r-shiny-in-government-examples/" target="_blank" rel="noopener">government applications</a>. The reason why is that data is everywhere and with this data comes handling, analysis, and reporting. R is good at handling big datasets and is relatively easy for beginners to get started with. Shiny was created to help those seeking to share their analyses without adding too much complexity or development cost in the process. If you walked down the virtual halls of Appsilon's offices you would find that most Shiny developers share a common story: they started in a separate field, began using R for stats or analysis, and then fell in love with how easy Shiny made the storytelling of their data. We want to show you that no matter your area of focus, Shiny can be used to enhance your project. And because it's all open source, there's no cost to start. We believe data can be used for good, and we want to help others realize what we already know to be true - R and Shiny are great tools for the job. <h3 id="forests">Future Forests (Appsilon)</h3> As part of our Data for Good (D4G) initiative, we collaborated with the <a href="https://www.idpan.poznan.pl/" target="_blank" rel="nofollow noopener">Institute of Dendrology of the Polish Academy of Sciences</a> and built a data visualization app to show how different climate scenarios will affect European forests. It provides a sobering look into the future, where parts of the continent become uninhabitable for some tree species. <img class="alignnone size-full wp-image-16830" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c7c824742cc351ca1e4_Future-Forests-Data-for-Good-Shiny-dashboard.webp" alt="Shiny Dashboard view of the Appsilon Data for Good Future Forests app" width="800" height="450" /> Explore the <a href="http://go.appsilon.com/forests" target="_blank" rel="noopener">future of European forests</a> and the impacts of changing climate. In the Shiny app, users explore European tree species’ and shifting environmental conditions caused by the climate crisis. This can be explored in three different climate change scenarios – optimistic, moderate, and pessimistic. Learn more about <a href="https://appsilon.com/climate-change-and-pine-forests/" target="_blank" rel="noopener">climate change and the future of European trees</a>. <h3 id="peskas">Peskas - Sustainable Fisheries Development</h3> Fisheries-dependent data underpin scientific guidance of management and conservation of fisheries systems. PeskAAS, a flexible and scalable digital application that facilitates the collection, categorization, analysis, and visualization of small-scale fisheries catch and effort data, was built using open-source software components, including the Shiny R package. Peskas is a web portal displaying data and insights on the fisheries of Timor-Leste. It is the official fisheries national monitoring system of Timor-Leste. Peskas depends on a group of Timorese enumerators to gather information on fish catches from fishermen all throughout Timor-Leste. Data on catches and vessel location are linked to display fishing patterns over time and space. Peskas was created with the goals of being affordable, open source, accessible, and offering close to real-time insight. <img class="alignnone size-full wp-image-16836" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c7de9613f3f72cab73d_PESKAS-fishery-Shiny-dashboard.webp" alt="Shiny Dashboard view of the PESKAS fishery app" width="800" height="450" /> See how small-scale fishermen of Timor-Leste, home to some of the world’s most diverse coral reefs, <a href="https://timor.peskas.org/" target="_blank" rel="nofollow noopener">use data to improve livelihoods from fishing</a> and reduce threats to biodiversity. Automated analytics of the data informs the local fishermen, fishery managers, and researchers on factors that influence their livelihoods. This includes fishing efforts, fisheries status, catch rates, economic efficiency, and geographic restrictions that may influence management initiatives. Learn more <a href="https://www.frontiersin.org/articles/10.3389/fmars.2019.00487/full" target="_blank" rel="nofollow noopener">here</a>. <h3 id="respiratory">Respiratory Disease App (Appsilon)</h3> Here’s another example of a project created through Appsilon’s Data for Good (D4G) initiative. We created an app that better visualizes the correlation between human mortality rates and a common cause (poor air quality) on a global scale. Air pollution is one such detriment that doesn’t abide by borders and is, unfortunately, a consistent problem across the globe. <img class="alignnone size-full wp-image-16838" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c7f6bb6e6a6629a37eb_Respiratory-Disease-App-Data-for-Good-Shiny-dashboard.webp" alt="Shiny Dashboard view of the Appsilon Data for Good Respiratory Diseases app" width="800" height="450" /> You can explore the live <a href="https://connect.appsilon.com/respiratory_disease_app_sprint/" target="_blank" rel="noopener">Respiratory Disease App</a>. <blockquote>Have you heard about Shiny for Python? Pavel Demin explores the <a href="https://appsilon.com/pyshiny-demo/" target="_blank" rel="noopener">Shiny for Python alpha by recreating the Respiratory Disease App</a>.</blockquote> We decided to explore the relationship between the Particulate Matter (PM2.5) pollution index metric and the mortality rate (defined as deaths per 100,000) from respiratory illnesses. In order to properly visualize the effect, we chose to display the data over the years through map and graph visualizations. You can learn more about the project and how our <a href="https://appsilon.com/appsprints-r-shiny-app-development/" target="_blank" rel="noopener">distributed team used appsprints to develop this Shiny project in 5 days!</a> <h3 id="fossil">Fossil Fuel Tracker</h3> <a href="https://www.linkedin.com/company/fossil-fuel-treaty/?lipi=urn%3Ali%3Apage%3Ad_flagship3_pulse_read%3BMz7ghqmyRFSJOadMW%2FnNzQ%3D%3D" target="_blank" rel="nofollow noopener">Fossil Fuel Non-Proliferation Treaty Initiative</a>, a global NGO working to phase out coal, oil and launched a first-of-its-kind tool to hold governments accountable for the fossil fuels they produce — <a href="https://fossilfueltracker.org/app/ffnpt" target="_blank" rel="nofollow noopener">The Fossil Fuel Policy Tracker</a>. <img class="alignnone size-full wp-image-16828" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c7f9fb8f3e5f40fd2fd_Fossil-Fuel-Non-proliferation-Treat-Shiny-for-Good-dashboard.webp" alt="Shiny Dashboard view of the Fossil Fuel Nonproliferation Treaty app" width="800" height="450" /> <a href="https://fossilfueltracker.org/app/ffnpt" target="_blank" rel="nofollow noopener">The Fossil Fuel Policy Tracker</a> is an open-source tool that allows the monitoring of fossil fuel policies in all countries globally and showing which countries are leaders or laggards. The Tracker provides data to ensure a just transition, a transition in which countries who benefitted most from the burning of fossil fuels help those who contributed the least - but - carry the biggest burden of the climate crisis today. Learn more about the treaty <a href="https://fossilfueltreaty.org/" target="_blank" rel="nofollow noopener">here</a>. <h3 id="mbaza">Mbaza Shiny App (Appsilon)</h3> <a href="https://appsilon.com/data-for-good/mbaza-ai/" target="_blank" rel="noopener"><b>Mbaza AI</b></a> is an open-source, free-use application for biodiversity conservationists. Appsilon created this tool for change, in collaboration with researchers at the University of Stirling and The National Parks Agency of Gabon (ANPN), as part of our Data for Good initiative. Mbaza AI automatically, accurately, and rapidly classifies animal species in camera trap images or videos. And it does so using a state-of-the-art artificial intelligence (AI) model. <img class="alignnone size-full wp-image-16832" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c81ccf2ef0d95c289a9_Mbaza-Shiny-Data-for-Good-Shiny-dashboard.webp" alt="Shiny Dashboard view of the Appsilon Data for Good Mbaza Shiny app" width="800" height="450" /> Together with the AI model, the <a href="https://demo.prod.appsilon.ai/mbaza/" target="_blank" rel="noopener">Mbaza Shiny App</a> helps accelerate effective biodiversity conservation in Gabon, by speeding up the data analysis process. Complementing the Mbaza AI algorithm is an interactive data explorer interface – Mbaza Shiny App. The Mbaza Shiny App intakes the data from the AI model and allows for analysis and visualization in an interactive dashboard. Shiny Dashboards are an excellent tool for telling data-centric stories. <h3 id="tbd">Health Equity Assessment Toolkit (HEAT)</h3> <a href="https://whoequity.shinyapps.io/heat/#" target="_blank" rel="nofollow noopener">HEAT</a> is a free, interactive dashboard for comparing health inequalities within countries. Built by the WHO, it uses the WHO Health Inequality Monitor data repository to showcase reproductive, maternal, newborn, and child health data in visualizations from interactive graphs, maps, and tables. This dashboard is a great example of taking large datasets with many variables across temporal and spatial extents without overloading users. Users can engage, build and customize reports with relative ease. <img class="alignnone size-full wp-image-16840" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c82d6bd062d7ff63c6d_WHO-HEAT-Shiny-for-Good-dashboard.webp" alt="Shiny Dashboard view of the WHO HEAT app" width="800" height="450" /> The HEAT dashboard helps policy-makers satisfy global-scale societal goals of monitoring inequalities, turning data into actionable good by influencing policies and practices. You can read through the dashboard's <a href="https://whoequity.shinyapps.io/heat/_w_e2c8d9e1/heat-assets/locales/en/User_manual.pdf" target="_blank" rel="nofollow noopener">user manual here</a>. View the dashboard <a href="https://whoequity.shinyapps.io/heat/#" target="_blank" rel="nofollow noopener">here</a>. <h3 id="posit">Posit featured: Visualizing Biodiversity in National Parks</h3> A Shiny App by <a href="https://alessiobenedetti.com/" target="_blank" rel="nofollow noopener">Alessio Benedetti</a>, “Biodiversity in National Parks” lets you visualize <a href="https://www.kaggle.com/nationalparkservice/park-biodiversity" target="_blank" rel="nofollow noopener">Kaggle’s biodiversity dataset</a>. Using the National Park Service database of animal and plant species, the application showcases insightful data with maps and charts. <img class="alignnone size-full wp-image-16834" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c83db456a59ff5b4bec_National-Parks-Service-Shiny-for-Good-Dashboard.webp" alt="Shiny Dashboard view of the Biodiversity in National Parks app" width="800" height="450" /> From the left navigation panel, you'll be able to access the maps, data, and charts. Here you can explore the US National Parks and their resident species. You can view the <a href="https://abenedetti.shinyapps.io/bioNPS/" target="_blank" rel="nofollow noopener">dashboard here</a> and learn more about the <a href="https://community.rstudio.com/t/shiny-contest-submission-visualizing-biodiversity-in-national-parks-data/25204" target="_blank" rel="nofollow noopener">submission here</a>. <blockquote>Discover what it means to be a <a href="https://appsilon.com/appsilon-data-science-is-now-an-rstudio-full-service-certified-partner/" target="_blank" rel="noopener">Posit (formerly RStudio) Full Service Certified Partner and how we can help you</a>.</blockquote> <h2 id="s">How to get started with R Shiny in your Data for Good project</h2> If you’re looking to accelerate your biodiversity monitoring and conservation efforts with an R Shiny dashboard, check out <a href="http://templates.appsilon.com/" target="_blank" rel="noopener">Appsilon’s free-use Shiny Dashboard Templates</a>. Simplify and speed up your Shiny dashboard build with our ready-to-use templates. The bundle contains several beautiful and easy-to-use templates with a range of features and tech stacks. The best part is – it’s entirely free! Also, consider checking out more from the R and Shiny communities. Sites like R-bloggers and <a href="https://r4ds.had.co.nz/" target="_blank" rel="nofollow noopener">R4DS</a> are a wealth of information for all skill levels. Or subscribe to Shiny Weekly, a newsletter where we share the latest and greatest Shiny topics from the community. This includes Shiny app showcases, unique tutorials, and CRAN updates on related packages. If you have an exciting Shiny project you’d like to share with the greater Shiny community,<a href="https://shinyconf.appsilon.com/" target="_blank" rel="noopener"> submit your talk to the ShinyConf 2023</a>! It’s the best place to network, learn, and engage. <h3>Bonus round! - GLEAM 3.0</h3> There are so many interesting projects and use cases of Shiny being used for good, it's hard to just pick a few. The Food and Agriculture Organization of the United Nations's <a href="https://foodandagricultureorganization.shinyapps.io/" target="_blank" rel="noopener">GLEAM dashboard</a> is another great example of Shiny being used for good and we think it deserves a spot here as well. GLEAM is a geospatial framework for quantifying the production of livestock across the globe and helps policymakers identify their environmental impacts. You can learn more about the <a href="https://www.fao.org/gleam/en/" target="_blank" rel="noopener">model here</a>. <img class="alignnone size-full wp-image-16845" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01c84e37fb5ca1e9096ee_GLEAMv3.webp" alt="Dashboard view of the GLEAMv3 Shiny dashboard from FAO UN" width="684" height="435" /> Are you using a dashboard for an environmental or social impact project? Let us know on <a href="https://www.linkedin.com/company/appsilon" target="_blank" rel="noopener">Linkedin</a>. We're always excited to see new uses and interesting projects.