Professional Shiny Programming
R and Shiny are an effective way to make a pilot program, which is a feasibility study on small-scale: short-term and inexpensive experiments that help an organization discover whether this project could be useful for their business. In this course we will learn how to build a pilot application that can be easily put into production to work on real data on a larger scale. We will code a Shiny application with a code organized in different Shiny Modules (“Shiny”) (clear and maintainable code) which is installed as a package (“Golem”), create unit tests (“Testthat”) to avoid regressions (TDD or TAD). A good logging system is useful to see what happens on your server: find bugs and discover user usage paths (“futile.logger”). Configuration files make the application more adaptable. Track the package environment to be reproducible (“renv”). Deploy on a Linux server using “Git” and “Github”.
Topics include
- Application as a Package with Golem
- Shiny Dashboard Framework
- Reproducibility with Venv
- Understanding Shiny Reactivity
- Tidy and readable code with Shiny Modules
- Application configuration
- Monitor the application with logging
What you will be able to do
- Write maintainable Shiny applications
- Split your Shiny applications in reusable modules
- Release new versions with confidence
- Quickly find and fix errors
- Understand how users use your applications
Duration
1 day.
Pre requisites
Experience in writing Simple Shiny Applications.
Audience
This is an advanced course for professionals and researchers who need to write complex Shiny applications where it is important to have a well thought out programming method.