Publications by Peter Solymos
Fitting removal models with the detect R package
In a paper recently published in the Condor, titled Evaluating time-removal models for estimating availability of boreal birds during point-count surveys: sample size requirements and model complexity, we assessed different ways of controlling for point-count duration in bird counts using data from the Boreal Avian Modelling Project. As the titl...
11459 sym R (6979 sym/14 pcs) 8 img
Introducing the bSims R package for simulating bird point counts
The bSims R package is a highly scientific and utterly addictive bird point count simulator. Highly scientific, because it implements a spatially explicit mechanistic simulation that is based on statistical models widely used in bird point count analysis (i.e. removal models, distance sampling), and utterly addictive because the implementation i...
8985 sym R (6939 sym/12 pcs) 2 img
The Anatomy of a Shiny Application
Shiny lets you quickly build web applications using the R programming language. In this post I will walk you through how a Shiny application is structured. The goal is simply to have the most basic and dependency free app that we can deploy. Let's get going!What is R and ShinyR is a free software environment for statistical computing and graphics...
5036 sym R (1121 sym/6 pcs) 8 img
The Best Resources for Learning Shiny App Development
The Hosting Data Apps website is dedicated to help you learn about your hosting options. As outlined in the opening post, data app development related content is kept to a minimum. In this post we list resources that provide accessible introduction to Shiny app development.What is Shiny againShiny is an R package that makes it easy to build inter...
1878 sym 2 img
Run Shiny Apps Locally
You might be eager to deploy your Shiny app to a remote server. But the simplest way to run a Shiny app is to run it locally. You only need the shiny R package installed, and you can run the app in your browser. In this post you'll see a few ways of how to organize your files to be served locally. Why bother reviewing all this? Well, as you will ...
5925 sym R (1455 sym/6 pcs) 8 img
Dockerizing Shiny Applications
All the general advantages of containerized applications apply to Shiny apps. Docker provides isolation to applications. Images are immutable: once build it cannot be changes, and if the app is working, it will work the same in the future. Another important consideration is scaling. Shiny apps are single threaded, but running multiple instances o...
8370 sym R (1791 sym/21 pcs) 2 img
Push Button Publishing for Shiny Apps
In a previous post you saw how to run Shiny apps locally. Certain use cases need to be run locally, most web applications deserve to be hosted on the web. The official Shiny documentation on the RStudio website offers 3 ways of putting Shiny applications on the web:Shinyapps.io: free or paid cloud hosting with push button publishingRStudio Connec...
4493 sym 20 img
Dockerized Shiny Apps with Dependencies
What makes programming languages like R and Python great for making data applications is the wealth of contributed extension packages that supercharge app development. You can turn your code into an interactive web app with not much extra code once you have a workflow and an interesting question.We have reviewed Docker basics and how to dockerize...
8198 sym R (1734 sym/10 pcs) 10 img
Securing Shiny Server with Caddy
Shiny Server is a free and open-source option for self hosting Shiny apps. The Shiny Server is one of the 3 options listed on RStudio's official Shiny documentation. The paid Shiny Server Pro version is discontinued in favour of RStudio Connect.Hosting Shiny apps on the open source Shiny Server requires to (1) set up a virtual machine (VM) with o...
6012 sym R (1659 sym/4 pcs) 6 img
File Transfer Based Publishing for Shiny Apps
Shiny Server is a free and open-source option for self hosting Shiny apps and it is one of the 3 options listed on the Shiny website. In a previous post you saw how to secure Shiny Server with a custom domain. Here you will lear how to add and update Shiny apps to your server.Follow the instructions from the previous post or spin up a brand new v...
6762 sym R (1894 sym/9 pcs) 12 img